mirror of
https://github.com/openharmony/third_party_iptables.git
synced 2026-07-21 06:15:26 -04:00
0bb1859e2d
Current code makes the assumption that !defined(__GLIBC__) means libc5 which is very unlikely the case nowadays. Fixes compile error because of conflict between kernel and musl headers. Signed-off-by: Florian Westphal <fw@strlen.de>
16 lines
360 B
C
16 lines
360 B
C
/* This is the userspace/kernel interface for Generic IP Chains,
|
|
required for libc6. */
|
|
#ifndef _FWCHAINS_KERNEL_HEADERS_H
|
|
#define _FWCHAINS_KERNEL_HEADERS_H
|
|
|
|
#include <limits.h>
|
|
|
|
#include <netinet/ip.h>
|
|
#include <netinet/in.h>
|
|
#include <netinet/ip_icmp.h>
|
|
#include <netinet/tcp.h>
|
|
#include <netinet/udp.h>
|
|
#include <net/if.h>
|
|
#include <sys/types.h>
|
|
#endif
|