summaryrefslogtreecommitdiffstats
path: root/src/libnftables.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-09-27 21:51:15 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2023-09-28 00:40:47 +0200
commita61f9f66f60f865f65be03374dc0277cce4f490a (patch)
tree556c7f703c5d847a6729833318a741eb5cf1d7e4 /src/libnftables.c
parent223a2098c29b15caaa4540ece923ae63da9f98c0 (diff)
include: include <string.h> in <nft.h>
<string.h> provides strcmp(), as such it's very basic and used everywhere. Signed-off-by: Thomas Haller <thaller@redhat.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/libnftables.c')
-rw-r--r--src/libnftables.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libnftables.c b/src/libnftables.c
index 1ca5a6f4..4b4cf5b6 100644
--- a/src/libnftables.c
+++ b/src/libnftables.c
@@ -16,7 +16,6 @@
#include <iface.h>
#include <cmd.h>
#include <errno.h>
-#include <string.h>
static int nft_netlink(struct nft_ctx *nft,
struct list_head *cmds, struct list_head *msgs)