diff options
| author | Jörg Krause <joerg.krause@embedded.rocks> | 2015-08-13 13:34:13 +0200 |
|---|---|---|
| committer | Thomas Haller <thaller@redhat.com> | 2015-08-14 14:33:56 +0200 |
| commit | d0406d3838d4e70f19dcac1747decd7dd9b7435c (patch) | |
| tree | 90969bb80ba54cc7c59ec32103c9937de6d57591 /lib/nl.c | |
| parent | d21790bf96dd8c03419a792fa11ddd12976f4934 (diff) | |
| download | platform_external_libnl-d0406d3838d4e70f19dcac1747decd7dd9b7435c.tar.gz platform_external_libnl-d0406d3838d4e70f19dcac1747decd7dd9b7435c.tar.bz2 platform_external_libnl-d0406d3838d4e70f19dcac1747decd7dd9b7435c.zip | |
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
Diffstat (limited to 'lib/nl.c')
| -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 |
