openwrtv4/package/libs/libnl-tiny/src
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
..
include libnl-tiny: include <sys/socket.h> 2015-11-11 11:39:21 +00:00
attr.c move library packages to package/libs/ 2012-10-08 11:24:12 +00:00
cache.c libnl-tiny: remove dead code 2014-12-10 16:02:49 +00:00
cache_mngt.c libnl-tiny: remove dead code 2014-12-10 16:02:49 +00:00
error.c libnl-tiny: ensure compatibility to libnl version 3 and higher 2014-03-21 15:54:48 +00:00
genl.c move library packages to package/libs/ 2012-10-08 11:24:12 +00:00
genl_ctrl.c move library packages to package/libs/ 2012-10-08 11:24:12 +00:00
genl_family.c move library packages to package/libs/ 2012-10-08 11:24:12 +00:00
genl_mngt.c libnl-tiny: remove dead code 2014-12-10 16:02:49 +00:00
handlers.c move library packages to package/libs/ 2012-10-08 11:24:12 +00:00
Makefile libnl-tiny: honor CFLAGS when linking 2015-06-18 08:13:04 +00:00
msg.c move library packages to package/libs/ 2012-10-08 11:24:12 +00:00
nl.c libnl-tiny: fix receiving netlink messages larger than 4K 2014-12-11 19:35:48 +00:00
object.c libnl-tiny: remove dead code 2014-12-10 16:02:49 +00:00
socket.c move library packages to package/libs/ 2012-10-08 11:24:12 +00:00
unl.c libnl-tiny: remove dead code 2014-12-10 16:02:49 +00:00