summaryrefslogtreecommitdiffstats
path: root/libnl_2/genl
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-09-11 18:52:40 -0700
committerElliott Hughes <enh@google.com>2012-09-12 10:10:20 -0700
commitb77d3d724945f38b39f3116e3aead4edcbd08a36 (patch)
treeb884863d9e8dbad4f61acdf851ea04f2dabfc97f /libnl_2/genl
parent922b460cc790722ffc303b200f02958e4066a2de (diff)
downloadsystem_core-b77d3d724945f38b39f3116e3aead4edcbd08a36.zip
system_core-b77d3d724945f38b39f3116e3aead4edcbd08a36.tar.gz
system_core-b77d3d724945f38b39f3116e3aead4edcbd08a36.tar.bz2
Always include <sys/socket.h> before <linux/netlink.h>.
Newer kernel headers files aren't stand alone. (This has long been true of glibc's copy, but we only recently updated external/kernel-headers.) Change-Id: Iebcb40902b2f29fe509e207e2f3a9d02a7e40602
Diffstat (limited to 'libnl_2/genl')
-rw-r--r--libnl_2/genl/genl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnl_2/genl/genl.c b/libnl_2/genl/genl.c
index 2442993..1e127af 100644
--- a/libnl_2/genl/genl.c
+++ b/libnl_2/genl/genl.c
@@ -20,6 +20,7 @@
#include <unistd.h>
#include <stdio.h>
#include <sys/time.h>
+#include <sys/socket.h>
#include <linux/netlink.h>
#include "netlink-types.h"