Skip to contentSkip to conversation

cli: remove #include <editline/history.h>

PATCH Superseded Pablo Neira Ayuso 1 participant 1 message Nov 22, 2021 netfilter

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

PATCH 1/1 cli: remove #include <editline/history.h>

This header is not required to compile nftables with editline, remove it, this unbreak compilation in several distros which have no symlink from history.h to editline.h

---
 src/cli.c | 1 -
 1 file changed, 1 deletion(-)
src/cli.c +0 -1
index 4845e5cf1454..cbbf45652ba0 100644
@@ -25,7 +25,6 @@
 #include <readline/readline.h>
 #include <readline/history.h>
 #elif defined(HAVE_LIBEDIT)
-#include <editline/readline.h>
 #include <editline/history.h>
 #else
 #include <linenoise.h>
Signature · 1 line
2.30.2