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

This commit is contained in:
bol-van
2024-08-20 17:08:40 +03:00
parent 92742912ae
commit 1f2b176f16
4 changed files with 15 additions and 14 deletions

View File

@@ -1,11 +1,11 @@
#pragma once
#define __FAVOR_BSD
#include <stddef.h>
#include <stdint.h>
#include <sys/types.h>
#include <netinet/in.h>
#define __FAVOR_BSD
#include <netinet/ip6.h>
#include <netinet/ip.h>
#include <netinet/tcp.h>