From: Arturo Borrero Gonzalez Date: Tue, 1 May 2018 17:33:45 +0000 (+0200) Subject: libnftables: fix header export X-Git-Tag: v0.8.5~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a502ba00e44a03cbce9b5769274e1b604d3f08ad;p=thirdparty%2Fnftables.git libnftables: fix header export Instruct Make to actually install the header to the system, otherwise users won't see the header in their system after running 'make install'. Also, export main libnftables header with a proper name, since we have another private header called 'nftables.h' (i.e, let's be concrete with the naming). Signed-off-by: Arturo Borrero Gonzalez Signed-off-by: Florian Westphal --- diff --git a/include/nftables.h b/include/nftables.h index 5f2da8b09..f525ba6b8 100644 --- a/include/nftables.h +++ b/include/nftables.h @@ -5,7 +5,7 @@ #include #include #include -#include +#include struct cookie { FILE *fp; diff --git a/include/nftables/Makefile.am b/include/nftables/Makefile.am index 9e31d5195..5cfb0c6c5 100644 --- a/include/nftables/Makefile.am +++ b/include/nftables/Makefile.am @@ -1 +1 @@ -noinst_HEADERS = nftables.h +pkginclude_HEADERS = libnftables.h diff --git a/include/nftables/nftables.h b/include/nftables/libnftables.h similarity index 100% rename from include/nftables/nftables.h rename to include/nftables/libnftables.h diff --git a/src/libnftables.c b/src/libnftables.c index fe5143f66..df4f0922b 100644 --- a/src/libnftables.c +++ b/src/libnftables.c @@ -6,7 +6,7 @@ * published by the Free Software Foundation. * */ -#include +#include #include #include #include diff --git a/src/main.c b/src/main.c index 1f08dfecc..d26ea0188 100644 --- a/src/main.c +++ b/src/main.c @@ -18,7 +18,7 @@ #include #include -#include +#include #include #include