openwrt/package/libs/libnl-tiny
Felix Fietkau 1e06647d37 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>

SVN-Revision: 47456
2015-11-11 11:39:21 +00:00
..
files libnl-tiny: add includedir to pkg-config cflags 2012-12-22 18:56:01 +00:00
src libnl-tiny: include <sys/socket.h> 2015-11-11 11:39:21 +00:00
Makefile libnl-tiny: honor CFLAGS when linking 2015-06-18 08:13:04 +00:00