summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/cli.h1
-rw-r--r--src/cli.c8
2 files changed, 2 insertions, 7 deletions
diff --git a/include/cli.h b/include/cli.h
index 3780e091..c1819d46 100644
--- a/include/cli.h
+++ b/include/cli.h
@@ -1,6 +1,7 @@
#ifndef _NFT_CLI_H_
#define _NFT_CLI_H_
+#include <nftables/libnftables.h>
#include <config.h>
struct parser_state;
diff --git a/src/cli.c b/src/cli.c
index bbdd0fdb..f1e89926 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -24,14 +24,8 @@
#include <readline/readline.h>
#include <readline/history.h>
-#include <nftables.h>
-#include <parser.h>
-#include <erec.h>
-#include <utils.h>
-#include <iface.h>
#include <cli.h>
-
-#include <libmnl/libmnl.h>
+#include <list.h>
#define CMDLINE_HISTFILE ".nft.history"