X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/539ae551cfe2812d481f57db7e0abbd9bb056ea5..835a347314148e6facab05ceb51c14c704a0d8a7:/src/unix/gsocket.cpp diff --git a/src/unix/gsocket.cpp b/src/unix/gsocket.cpp index 1ea7b594e5..d417f12da8 100644 --- a/src/unix/gsocket.cpp +++ b/src/unix/gsocket.cpp @@ -36,6 +36,14 @@ #include #include #endif +#ifdef __NETBSD__ +#ifndef _NETBSD_SOURCE +#define _NETBSD_SOURCE +#endif +#ifndef _LIBC +#define _LIBC +#endif +#endif #include #include