You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bj...@locus.apache.org on 2000/12/02 04:24:24 UTC
cvs commit: apr aclocal.m4
bjh 00/12/01 19:24:24
Modified: . aclocal.m4
Log:
Some platforms need sys/types.h before netdb.h, make it so in the test for
h_errno added recently.
Revision Changes Path
1.32 +3 -0 apr/aclocal.m4
Index: aclocal.m4
===================================================================
RCS file: /home/cvs/apr/aclocal.m4,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- aclocal.m4 2000/11/30 08:04:03 1.31
+++ aclocal.m4 2000/12/02 03:24:24 1.32
@@ -441,6 +441,9 @@
CFLAGS="-D$1 $CFLAGS"
fi
AC_TRY_COMPILE([
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif