Yet another attempt at making the getservbyname_r prototype visible.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2006-01-23 22:54:56 +00:00
parent 1069efb91a
commit 385ebb5d81

View File

@@ -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>