summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-07-04 05:29:30 +0000
committerdg <dg@FreeBSD.org>1995-07-04 05:29:30 +0000
commitf131661e5a369a83a42340258f68a01183bf3770 (patch)
tree37c8d35e0dcaf718a36f17b0306e3e987ea67e4b /sys
parentc200b4b97b9478e8c7f05ab614ea982c189d743b (diff)
downloadFreeBSD-src-f131661e5a369a83a42340258f68a01183bf3770.zip
FreeBSD-src-f131661e5a369a83a42340258f68a01183bf3770.tar.gz
Define TRUE and FALSE.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_fw.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index c82630c..0cea7bc 100644
--- a/sys/netinet/ip_fw.c
+++ b/sys/netinet/ip_fw.c
@@ -51,6 +51,13 @@
#define dprintf4(a1,a2,a3,a4)
#endif
+#ifndef TRUE
+#define TRUE 1
+#endif
+
+#ifndef FALSE
+#define FALSE 0
+#endif
#define print_ip(a) printf("%ld.%ld.%ld.%ld",(ntohl(a.s_addr)>>24)&0xFF,\
(ntohl(a.s_addr)>>16)&0xFF,\
OpenPOWER on IntegriCloud