]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
server: fix broken TFO detection
authorDaniel Salzman <daniel.salzman@nic.cz>
Tue, 9 Mar 2021 16:28:23 +0000 (17:28 +0100)
committerDaniel Salzman <daniel.salzman@nic.cz>
Wed, 10 Mar 2021 06:41:07 +0000 (07:41 +0100)
src/knot/server/server.c

index ba9b67a236c68550beb78757a1c053d918fa561b..f99566fb98b67cb1f186f3e75a76201e0c55070c 100644 (file)
@@ -17,6 +17,8 @@
 #define __APPLE_USE_RFC_3542
 
 #include <assert.h>
+#include <sys/types.h>   // OpenBSD
+#include <netinet/tcp.h> // TCP_FASTOPEN
 #include <sys/resource.h>
 
 #include "libknot/libknot.h"