From 6a7762bd6ab5eaeec23fa05a22c1edf4d9ab0804 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 23 Apr 2015 11:47:01 +0200 Subject: all: Fix libnl3 include path The libnl3 examples [1] use etc. and since pkg-config returns the paths including the libnl3 path component, we should specify our include paths relative to these ones, not /usr/include. [1] http://www.infradead.org/~tgr/libnl/doc/core.html#_linking_to_this_library Signed-off-by: Tobias Klauser --- dissector.h | 2 +- mac80211.c | 10 +++++----- proto_nlmsg.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dissector.h b/dissector.h index 01d1525..fc20eda 100644 --- a/dissector.h +++ b/dissector.h @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include "ring.h" #include "tprintf.h" diff --git a/mac80211.c b/mac80211.c index 09f15b7..ee81646 100644 --- a/mac80211.c +++ b/mac80211.c @@ -18,11 +18,11 @@ #include #include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include "die.h" #include "str.h" diff --git a/proto_nlmsg.c b/proto_nlmsg.c index 6f3d310..787d9d6 100644 --- a/proto_nlmsg.c +++ b/proto_nlmsg.c @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include "pkt_buff.h" #include "proto.h" -- cgit v1.2.3-54-g00ecf