trawick 00/04/05 18:38:08
Modified: src/lib/apr/lib apr_snprintf.c
Log:
include <arpa/inet.h> for ntohl() et al (some platforms
follow the Single Unix Spec and define them there)
Revision Changes Path
1.14 +3 -0 apache-2.0/src/lib/apr/lib/apr_snprintf.c
Index: apr_snprintf.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/lib/apr_snprintf.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- apr_snprintf.c 2000/04/03 18:40:40 1.13
+++ apr_snprintf.c 2000/04/06 01:38:07 1.14
@@ -68,6 +68,9 @@
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
|