git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37125
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
DEFAULT_DEFAULT_wxUSE_GTK=1
NEEDS_D_REENTRANT_FOR_R_FUNCS=1
+
+
+ CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
;;
*-*-osf* )
USE_ALPHA=1
AC_DEFINE(__BSD__)
DEFAULT_DEFAULT_wxUSE_GTK=1
NEEDS_D_REENTRANT_FOR_R_FUNCS=1
+
+ dnl some standard declarations in NetBSD headers are only included if
+ dnl _NETBSD_SOURCE and _LIBC are defined, e.g. getservbyname_r in netdb.h
+ CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
;;
*-*-osf* )
USE_ALPHA=1