BUILD: tcp: do not include netinet/ip.h for IP_TTL

On OpenBSD, netinet/ip.h fails unless in_systm.h is included. This
include was added by the silent-drop feature introduced with commit
2d392c2 ("MEDIUM: tcp: add new tcp action "silent-drop"") in 1.6-dev6,
but we don't need it, IP_TTL is defined in netinet/in.h, so let's drop
this useless include.

This fix needs to be backported to 1.6.
This commit is contained in:
Willy Tarreau 2016-08-10 18:42:17 +02:00
parent 077edcba2e
commit 7f3e3c0159

View File

@ -31,7 +31,6 @@
#include <netinet/tcp.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <common/cfgparse.h>
#include <common/compat.h>