]> git.saurik.com Git - wxWidgets.git/commitdiff
Yet another attempt at making the getservbyname_r prototype visible.
authorStefan Neis <Stefan.Neis@t-online.de>
Mon, 23 Jan 2006 22:54:56 +0000 (22:54 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Mon, 23 Jan 2006 22:54:56 +0000 (22:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/gsocket.cpp

index 1ea7b594e54ccf215eb632a5599c6e00c44cc67a..d417f12da8bf8a6d2f1250ae711affc5c9a3ce93 100644 (file)
 #include <types.h>
 #include <netinet/in.h>
 #endif
+#ifdef __NETBSD__
+#ifndef _NETBSD_SOURCE
+#define _NETBSD_SOURCE
+#endif
+#ifndef _LIBC
+#define _LIBC
+#endif
+#endif
 #include <netdb.h>
 #include <sys/ioctl.h>