Skip to contentSkip to conversation

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

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

lore
Share & tools
lore

Pablo Neira Ayuso

author maintainer
#0 lore raw

PATCH v2 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

---
v2: really, remove history.h, not readline.h

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