projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1069efb
)
Yet another attempt at making the getservbyname_r prototype visible.
author
Stefan Neis
<Stefan.Neis@t-online.de>
Mon, 23 Jan 2006 22:54:56 +0000
(22:54 +0000)
committer
Stefan 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
patch
|
blob
|
blame
|
history
diff --git
a/src/unix/gsocket.cpp
b/src/unix/gsocket.cpp
index 1ea7b594e54ccf215eb632a5599c6e00c44cc67a..d417f12da8bf8a6d2f1250ae711affc5c9a3ce93 100644
(file)
--- a/
src/unix/gsocket.cpp
+++ b/
src/unix/gsocket.cpp
@@
-36,6
+36,14
@@
#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>