nfqws: another very old toolchain fix with IP_NODEFRAG

This commit is contained in:
bol-van 2024-08-29 13:07:45 +03:00
parent a73e86df3b
commit a21c4399b2

6
nfq/darkmagic.c Normal file → Executable file
View File

@ -8,8 +8,10 @@
#include <sys/param.h> #include <sys/param.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#ifdef __linux__
#include <linux/in.h> #ifndef IP_NODEFRAG
// for very old toolchains
#define IP_NODEFRAG 22
#endif #endif
#include "darkmagic.h" #include "darkmagic.h"