[PATCH nft] cli: remove #include <editline/history.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <pablo@xxxxxxxxxxxxx>
---
 src/cli.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/cli.c b/src/cli.c
index 4845e5cf1454..cbbf45652ba0 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -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>
-- 
2.30.2




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux