You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Cliff Woolley <cl...@yahoo.com> on 2000/12/21 23:46:25 UTC

[PATCH] APR_HAVE_NETDB_H

Here's another fix that's needed for the Apache support progs to compile now.  I guessed
at the Win32 value (figuring 0 was a safer guess).  If Win32 HAS netdb.h, somebody please
change apr.hw to reflect that.

There are still a bunch of warnings in the support progs that I haven't cleaned up yet,
but at least Apache compiles on Unix again.

--Cliff

Index: configure.in
===================================================================
RCS file: /home/cvspublic/apr/configure.in,v
retrieving revision 1.193
diff -u -r1.193 configure.in
--- configure.in	2000/12/21 20:59:24	1.193
+++ configure.in	2000/12/21 22:44:47
@@ -317,6 +317,7 @@
 AC_SUBST(direnth)
 AC_SUBST(fcntlh)
 AC_SUBST(ioh)
+AC_SUBST(netdbh)
 AC_SUBST(netinet_inh)
 AC_SUBST(stdargh)
 AC_SUBST(stdioh)
Index: include/apr.h.in
===================================================================
RCS file: /home/cvspublic/apr/include/apr.h.in,v
retrieving revision 1.58
diff -u -r1.58 apr.h.in
--- include/apr.h.in	2000/12/21 20:59:26	1.58
+++ include/apr.h.in	2000/12/21 22:44:52
@@ -30,6 +30,7 @@
 #define APR_HAVE_ERRNO_H        @errnoh@
 #define APR_HAVE_FCNTL_H        @fcntlh@
 #define APR_HAVE_IO_H           @ioh@
+#define APR_HAVE_NETDB_H        @netdbh@
 #define APR_HAVE_NETINET_IN_H   @netinet_inh@
 #define APR_HAVE_PTHREAD_H      @pthreadh@
 #define APR_HAVE_STDARG_H       @stdargh@
Index: include/apr.hw
===================================================================
RCS file: /home/cvspublic/apr/include/apr.hw,v
retrieving revision 1.43
diff -u -r1.43 apr.hw
--- include/apr.hw	2000/12/21 20:59:26	1.43
+++ include/apr.hw	2000/12/21 22:44:53
@@ -121,6 +121,7 @@
 #define APR_HAVE_ERRNO_H        1
 #define APR_HAVE_FCNTL_H        1
 #define APR_HAVE_IO_H           1
+#define APR_HAVE_NETDB_H        0
 #define APR_HAVE_NETINET_IN_H   0
 #define APR_HAVE_PTHREAD_H      0
 #define APR_HAVE_STDARG_H       1


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/