nfqws: use __FAVOR_BSD define to compile with old linux netinet/tcp.h

This commit is contained in:
bol-van 2024-08-20 16:25:26 +03:00
parent 8d066b2dcb
commit 92742912ae
4 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#define __FAVOR_BSD
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <sys/types.h> #include <sys/types.h>

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#define __FAVOR_BSD
// this conntrack is not bullet-proof // this conntrack is not bullet-proof
// its designed to satisfy dpi desync needs only // its designed to satisfy dpi desync needs only

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#define __FAVOR_BSD
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
#include <sys/types.h> #include <sys/types.h>

View File

@ -1,5 +1,7 @@
#pragma once #pragma once
#define __FAVOR_BSD
#include "darkmagic.h" #include "darkmagic.h"
#include <stdint.h> #include <stdint.h>