]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
Yet another try to fix NetBSD's problem with getservbyname_r.
[wxWidgets.git] / configure
index e0e91d9992715fd1ae106e38fe0e912ed881884f..fd45a50be0293a1e2cf017e2b5eeb00740c73935 100755 (executable)
--- a/configure
+++ b/configure
@@ -1861,6 +1861,9 @@ _ACEOF
 
     DEFAULT_DEFAULT_wxUSE_GTK=1
     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
+
+
+            CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
   ;;
   *-*-osf* )
     USE_ALPHA=1