1998-04-18 08:57:44 +00:00
|
|
|
--- firewall.h.orig Sun Mar 1 06:54:20 1998
|
1998-12-10 16:31:13 +00:00
|
|
|
+++ firewall.h Thu Dec 10 08:26:28 1998
|
|
|
|
@@ -1,3 +1,10 @@
|
|
|
|
+/* I don't like including these here, but it is the least intrusive fix
|
|
|
|
+ I can see at the moment. -- David O'Brien for the FreeBSD port */
|
|
|
|
+#include <stdlib.h>
|
|
|
|
+#include <stdio.h>
|
|
|
|
+/* #include <unistd.h> */ /* conflicts with gethostname() in socket.c */
|
|
|
|
+#include <string.h>
|
|
|
|
+
|
|
|
|
/*-
|
|
|
|
* Copyright (c) 1993, 1996, 1997 Trusted Information Systems, Incorporated
|
|
|
|
* All rights reserved.
|
|
|
|
@@ -47,7 +54,7 @@
|
1998-04-18 08:57:44 +00:00
|
|
|
system.
|
|
|
|
*/
|
|
|
|
#ifndef PERMFILE
|
|
|
|
-#define PERMFILE "/usr/local/etc/netperm-table"
|
|
|
|
+#define PERMFILE "%%BSD_PREFIX%%/etc/netperm-table"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
1998-12-10 16:31:13 +00:00
|
|
|
@@ -67,7 +74,7 @@
|
1997-03-07 12:33:43 +00:00
|
|
|
|
|
|
|
/* Choose a system logging facility for the firewall toolkit. */
|
|
|
|
#ifndef LFAC
|
|
|
|
-#define LFAC LOG_DAEMON
|
|
|
|
+#define LFAC LOG_LOCAL2
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
1998-12-10 16:31:13 +00:00
|
|
|
@@ -89,7 +96,7 @@
|
1997-03-07 12:33:43 +00:00
|
|
|
makes no difference. make sure that whichever your machine uses
|
|
|
|
is defined below.
|
|
|
|
*/
|
1998-04-18 08:57:44 +00:00
|
|
|
-#if defined(SYSV) || defined(SCO5) || defined(OSF1) || defined(AIX)
|
|
|
|
+#if defined(SYSV) || defined(SCO5) || defined(OSF1) || defined(AIX) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
|
|
|
|
#define DIRECT_STRUCT struct dirent
|
|
|
|
#else
|
|
|
|
#define DIRECT_STRUCT struct direct
|