diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-04-23 11:47:01 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-04-23 11:47:01 +0200 |
commit | 6a7762bd6ab5eaeec23fa05a22c1edf4d9ab0804 (patch) | |
tree | 1f255c003f901974af03e74cbc9f5c394cb90b08 /proto_nlmsg.c | |
parent | c94658aefc17a94c610087adffe68c53114e00b2 (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 'proto_nlmsg.c')
-rw-r--r-- | proto_nlmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <stdio.h> #include <unistd.h> #include <limits.h> -#include <libnl3/netlink/msg.h> #include <libgen.h> +#include <netlink/msg.h> #include "pkt_buff.h" #include "proto.h" |