summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/libnftables/chain.h1
-rw-r--r--include/libnftables/expr.h1
-rw-r--r--include/libnftables/rule.h1
-rw-r--r--include/libnftables/ruleset.h4
-rw-r--r--include/libnftables/set.h1
-rw-r--r--include/libnftables/table.h1
6 files changed, 9 insertions, 0 deletions
diff --git a/include/libnftables/chain.h b/include/libnftables/chain.h
index 66f19c0..5de7318 100644
--- a/include/libnftables/chain.h
+++ b/include/libnftables/chain.h
@@ -4,6 +4,7 @@
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
+#include <sys/types.h>
#ifdef __cplusplus
extern "C" {
diff --git a/include/libnftables/expr.h b/include/libnftables/expr.h
index 64c407c..81e224c 100644
--- a/include/libnftables/expr.h
+++ b/include/libnftables/expr.h
@@ -3,6 +3,7 @@
#include <stdint.h>
#include <stdbool.h>
+#include <sys/types.h>
#ifdef __cplusplus
extern "C" {
diff --git a/include/libnftables/rule.h b/include/libnftables/rule.h
index cdbd8d2..b61afb0 100644
--- a/include/libnftables/rule.h
+++ b/include/libnftables/rule.h
@@ -4,6 +4,7 @@
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
+#include <sys/types.h>
#ifdef __cplusplus
extern "C" {
diff --git a/include/libnftables/ruleset.h b/include/libnftables/ruleset.h
index 35e4d71..3b20bfa 100644
--- a/include/libnftables/ruleset.h
+++ b/include/libnftables/ruleset.h
@@ -3,6 +3,10 @@
#include <stdio.h>
+#include <stdbool.h>
+#include <stdint.h>
+#include <sys/types.h>
+
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/include/libnftables/set.h b/include/libnftables/set.h
index a087009..cf63b9b 100644
--- a/include/libnftables/set.h
+++ b/include/libnftables/set.h
@@ -4,6 +4,7 @@
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
+#include <sys/types.h>
enum {
NFT_SET_ATTR_TABLE,
diff --git a/include/libnftables/table.h b/include/libnftables/table.h
index 4a323bd..e3b4888 100644
--- a/include/libnftables/table.h
+++ b/include/libnftables/table.h
@@ -4,6 +4,7 @@
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
+#include <sys/types.h>
#ifdef __cplusplus
extern "C" {