summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src/support/logresolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/httpd/src/support/logresolve.c')
-rw-r--r--usr.sbin/httpd/src/support/logresolve.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/support/logresolve.c b/usr.sbin/httpd/src/support/logresolve.c
index 6b4ae6bc277..2e02e3a80f0 100644
--- a/usr.sbin/httpd/src/support/logresolve.c
+++ b/usr.sbin/httpd/src/support/logresolve.c
@@ -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);