diff options
author | Jörg Krause <joerg.krause@embedded.rocks> | 2015-08-13 11:34:13 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-08-14 12:33:56 (GMT) |
commit | d0406d3838d4e70f19dcac1747decd7dd9b7435c (patch) | |
tree | 90969bb80ba54cc7c59ec32103c9937de6d57591 | |
parent | d21790bf96dd8c03419a792fa11ddd12976f4934 (diff) | |
download | libnl-d0406d3838d4e70f19dcac1747decd7dd9b7435c.zip libnl-d0406d3838d4e70f19dcac1747decd7dd9b7435c.tar.gz libnl-d0406d3838d4e70f19dcac1747decd7dd9b7435c.tar.bz2 |
lib/nl: add missing header
CMSG_NXTHDR requires <linux/socket.h>. This fix a build error with the musl
C library:
```
undefined reference to `__cmsg_nxthdr'
```
https://github.com/thom311/libnl/pull/83
-rw-r--r-- | lib/nl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -32,6 +32,7 @@ #include <netlink/handlers.h> #include <netlink/msg.h> #include <netlink/attr.h> +#include <linux/socket.h> /** * @defgroup core_types Data Types |