openbsd-ports/www/webalizer/patches/patch-webalizer_c
2000-09-01 16:38:51 +00:00

23 lines
560 B
Plaintext

$OpenBSD: patch-webalizer_c,v 1.1 2000/09/01 16:38:51 danh Exp $
--- webalizer.c.orig Sun Apr 16 23:37:57 2000
+++ webalizer.c Fri Sep 1 12:23:49 2000
@@ -36,6 +36,7 @@
#include <string.h>
#include <unistd.h> /* normal stuff */
#include <ctype.h>
+#include <sys/param.h>
#include <sys/utsname.h>
#include <sys/times.h>
#include <zlib.h>
@@ -61,6 +62,10 @@
#endif
#ifdef USE_DNS
+#ifdef BSD4_4
+#include <sys/types.h>
+#include <netinet/in.h>
+#endif /* BSD4_4 */
#include <arpa/inet.h>
#ifdef HAVE_DB_185_H