aboutsummaryrefslogtreecommitdiff
path: root/contrib/ipfilter
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2018-12-30 04:25:48 +0000
committerCy Schubert <cy@FreeBSD.org>2018-12-30 04:25:48 +0000
commitda7e48c690c03c0d058da6f46a91d6a51eb35b95 (patch)
tree8b6bc97d1962ae9cdd60a5d8167a01ee67890b63 /contrib/ipfilter
parent18569211a1177648c67530c6bae2548158afa88c (diff)
downloadsrc-da7e48c690c03c0d058da6f46a91d6a51eb35b95.tar.gz
src-da7e48c690c03c0d058da6f46a91d6a51eb35b95.zip
TCP_PAWS_IDLE is does not exist in NetBSD and illumos. In FreeBSD
TCP_PAWS_IDLE is defined in netinet/tcp_seq.h, however this header isn't included explicitly or implicitly at this point therefore as far ipfilter is concerned TCP_PAWS_IDLE is not defined. Remove the #ifdef and include netinet/tcp.h unconditionally. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=342605
Diffstat (limited to 'contrib/ipfilter')
-rw-r--r--contrib/ipfilter/ipf.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/ipfilter/ipf.h b/contrib/ipfilter/ipf.h
index dfae008bed6a..695325a2788f 100644
--- a/contrib/ipfilter/ipf.h
+++ b/contrib/ipfilter/ipf.h
@@ -47,9 +47,7 @@ struct file;
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/ip_icmp.h>
-#ifndef TCP_PAWS_IDLE /* IRIX */
# include <netinet/tcp.h>
-#endif
#include <netinet/udp.h>
#include <arpa/inet.h>