cli: remove #include <editline/history.h>
Pablo Neira Ayuso
maintainerPATCH 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
Signed-off-by Pablo Neira Ayuso <[email protected]>
---
v2: really, remove history.h, not readline.h
src/cli.c | 1 - 1 file changed, 1 deletion(-)
src/cli.c +0 -1
@@ -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