aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libnl-tiny/src/include/netlink/netlink-compat.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-11 11:39:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-11 11:39:21 +0000
commit599c2ac3b9bb133bf62229a386761fe857bd9e1d (patch)
tree2adba144b9365c91cf632ac3061eea70084a5e71 /package/libs/libnl-tiny/src/include/netlink/netlink-compat.h
parent12ee4de94ddd0f7248b2cd03226dd82f606a1e84 (diff)
downloadmaster-187ad058-599c2ac3b9bb133bf62229a386761fe857bd9e1d.tar.gz
master-187ad058-599c2ac3b9bb133bf62229a386761fe857bd9e1d.tar.bz2
master-187ad058-599c2ac3b9bb133bf62229a386761fe857bd9e1d.zip
libnl-tiny: include <sys/socket.h>
Currently some libnl headers require application code to include dependencies on its own. E.g. a simple include of <linux/netlink.h> will trigger an error: /usr/include/libnl-tiny/linux/netlink.h:32:2: error: unknown type name 'sa_family_t' Similarly including <netlink/handlers.h> causes: /usr/include/libnl-tiny/netlink/handlers.h:133:19: warning: 'struct ucred' declared inside parameter list [enabled by default] Fix it by including <sys/socket.h> where needed in libnl headers. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47456 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs/libnl-tiny/src/include/netlink/netlink-compat.h')
0 files changed, 0 insertions, 0 deletions