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:
@@ -36,6 +36,14 @@
|
|||||||
#include <types.h>
|
#include <types.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __NETBSD__
|
||||||
|
#ifndef _NETBSD_SOURCE
|
||||||
|
#define _NETBSD_SOURCE
|
||||||
|
#endif
|
||||||
|
#ifndef _LIBC
|
||||||
|
#define _LIBC
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user