History log of /openwrt/package/libs/libnl-tiny/src/include/netlink/handlers.h
Revision Date Author Comments
# 599c2ac3 11-Nov-2015 Felix Fietkau <nbd@openwrt.org>

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


# a17a510a 08-Oct-2012 Felix Fietkau <nbd@openwrt.org>

move library packages to package/libs/

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33657 3c298f89-4303-0410-b956-a3cf2f4a3e73