summaryrefslogtreecommitdiffstats
path: root/libnl_2/msg.c
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/msg.c
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/msg.c')
-rw-r--r--libnl_2/msg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnl_2/msg.c b/libnl_2/msg.c
index 283da6e..1303e8a 100644
--- a/libnl_2/msg.c
+++ b/libnl_2/msg.c
@@ -18,6 +18,7 @@
#include <malloc.h>
#include <unistd.h>
+#include <sys/socket.h>
#include <linux/netlink.h>
#include "netlink-types.h"