29 lines
877 B
Diff
29 lines
877 B
Diff
|
|
diff --git a/src/Linux/Makefile b/src/Linux/Makefile
|
||
|
|
index 02ac641..b52561d 100644
|
||
|
|
--- a/src/Linux/Makefile
|
||
|
|
+++ b/src/Linux/Makefile
|
||
|
|
@@ -301,8 +301,8 @@ endif
|
||
|
|
CFLAGS_DBUS=$(shell pkg-config dbus-1 --cflags)
|
||
|
|
LIBS_DBUS=$(shell pkg-config dbus-1 --libs)
|
||
|
|
|
||
|
|
-CFLAGS_NETLINK=
|
||
|
|
-LIBS_NETLINK=
|
||
|
|
+CFLAGS_NETLINK=$(shell pkg-config libnfnetlink --cflags)
|
||
|
|
+LIBS_NETLINK=$(shell pkg-config libnfnetlink --libs)
|
||
|
|
|
||
|
|
# SYSTEMD requires DBUS, (lib)uuid-dev(el), openssl-dev(el)
|
||
|
|
CFLAGS_SYSTEMD=$(CFLAGS_DBUS)
|
||
|
|
diff --git a/src/Linux/mod_nflog.c b/src/Linux/mod_nflog.c
|
||
|
|
index 790fd60..8892336 100644
|
||
|
|
--- a/src/Linux/mod_nflog.c
|
||
|
|
+++ b/src/Linux/mod_nflog.c
|
||
|
|
@@ -18,7 +18,7 @@ extern "C" {
|
||
|
|
#define HSP_NFLOG_RCV_BUF 8000000
|
||
|
|
|
||
|
|
#include <linux/netfilter/nfnetlink_log.h>
|
||
|
|
-#include <libnfnetlink.h>
|
||
|
|
+#include <libnfnetlink/libnfnetlink.h>
|
||
|
|
|
||
|
|
typedef struct _HSP_mod_NFLOG {
|
||
|
|
EVBus *packetBus;
|