summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw2.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-08-26 14:18:30 +0000
committerru <ru@FreeBSD.org>2004-08-26 14:18:30 +0000
commitfdbaf5c59cdb7bb91c868492a1ceb57977003d5c (patch)
treea434f4e4e8bd3779607d6508c39267ae9477e1a9 /sys/netinet/ip_fw2.c
parent7845779267aeba1e407bd512be0720c6129bbbb1 (diff)
downloadFreeBSD-src-fdbaf5c59cdb7bb91c868492a1ceb57977003d5c.zip
FreeBSD-src-fdbaf5c59cdb7bb91c868492a1ceb57977003d5c.tar.gz
Revert the last change to sys/modules/ipfw/Makefile and fix a
standalone module build in a better way. Silence from: andre MFC after: 3 days
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r--sys/netinet/ip_fw2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index 5b9b965..2cb6c85 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -32,6 +32,7 @@
* Implement IP packet firewall (new version)
*/
+#if !defined(KLD_MODULE)
#include "opt_ipfw.h"
#include "opt_ipdn.h"
#include "opt_ipdivert.h"
@@ -40,6 +41,7 @@
#ifndef INET
#error IPFIREWALL requires INET.
#endif /* INET */
+#endif
#define IPFW2 1
#if IPFW2
OpenPOWER on IntegriCloud