summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src/support/logresolve.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2000-03-19 11:16:13 +0000
committerbeck <beck@openbsd.org>2000-03-19 11:16:13 +0000
commit7162a7a1f02eb4e2e0065733ca2d04d7558e49e4 (patch)
tree97e4405d808cb4f9cd304e4ef041b1b542fdb0d8 /usr.sbin/httpd/src/support/logresolve.c
parentnew minty 0.9.5 openssl (diff)
downloadwireguard-openbsd-7162a7a1f02eb4e2e0065733ca2d04d7558e49e4.tar.xz
wireguard-openbsd-7162a7a1f02eb4e2e0065733ca2d04d7558e49e4.zip
apache 1.3.12 + mod_ssl 2.6.2 merge
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);