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
This commit is contained in:
Cy Schubert 2018-12-30 04:25:48 +00:00
parent 18569211a1
commit da7e48c690
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=342605

View File

@ -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>