You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ws...@hyperreal.org on 2000/01/26 05:36:04 UTC
cvs commit: apache-1.3/src/support logresolve.c
wsanchez 00/01/25 20:36:03
Modified: src/support logresolve.c
Log:
BeOS lacks <arpa/inet.h>.
Submitted by: David Reid <dr...@jetnet.co.uk>
Revision Changes Path
1.18 +7 -1 apache-1.3/src/support/logresolve.c
Index: logresolve.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/support/logresolve.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- logresolve.c 1999/12/07 04:54:45 1.17
+++ logresolve.c 2000/01/26 04:36:00 1.18
@@ -45,8 +45,14 @@
#include <ctype.h>
#ifndef MPE
+#ifndef BEOS
#include <arpa/inet.h>
-#endif
+#else
+/* BeOS lacks the necessary files until we get the new networking */
+#include <netinet/in.h>
+#define NO_ADDRESS 4
+#endif /* BEOS */
+#endif /* MPE */
static void cgethost(struct in_addr ipnum, char *string, int check);
static int getline(char *s, int n);