summaryrefslogtreecommitdiff
path: root/mac80211.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-04-23 11:47:01 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-04-23 11:47:01 +0200
commit6a7762bd6ab5eaeec23fa05a22c1edf4d9ab0804 (patch)
tree1f255c003f901974af03e74cbc9f5c394cb90b08 /mac80211.c
parentc94658aefc17a94c610087adffe68c53114e00b2 (diff)
all: Fix libnl3 include path
The libnl3 examples [1] use <netlink/netlink.h> 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 <tklauser@distanz.ch>
Diffstat (limited to 'mac80211.c')
-rw-r--r--mac80211.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mac80211.c b/mac80211.c
index 09f15b7..ee81646 100644
--- a/mac80211.c
+++ b/mac80211.c
@@ -18,11 +18,11 @@
#include <sys/socket.h>
#include <linux/if.h>
#include <linux/nl80211.h>
-#include <libnl3/netlink/genl/genl.h>
-#include <libnl3/netlink/genl/family.h>
-#include <libnl3/netlink/genl/ctrl.h>
-#include <libnl3/netlink/msg.h>
-#include <libnl3/netlink/attr.h>
+#include <netlink/genl/genl.h>
+#include <netlink/genl/family.h>
+#include <netlink/genl/ctrl.h>
+#include <netlink/msg.h>
+#include <netlink/attr.h>
#include "die.h"
#include "str.h"