Permalink
Browse files

am cb71ed3: am 50e2555: Merge "Always include <sys/socket.h> before <…

…linux/netlink.h>."

* commit 'cb71ed3092cef3b1c56d8d873788daea82de7879':
  Always include <sys/socket.h> before <linux/netlink.h>.
  • Loading branch information...
2 parents e6b8981 + cb71ed3 commit cdc4a400b3a47564887ac1220bfb7f6f8312a71e @enh enh committed with Android Git Automerger Sep 12, 2012
Showing with 5 additions and 2 deletions.
  1. +3 −2 charger/charger.c
  2. +1 −0 libnl_2/genl/genl.c
  3. +1 −0 libnl_2/msg.c
View
@@ -21,19 +21,20 @@
#include <errno.h>
#include <fcntl.h>
#include <linux/input.h>
-#include <linux/netlink.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/poll.h>
-#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/un.h>
#include <time.h>
#include <unistd.h>
+#include <sys/socket.h>
+#include <linux/netlink.h>
+
#include <cutils/android_reboot.h>
#include <cutils/klog.h>
#include <cutils/list.h>
View
@@ -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"
View
@@ -18,6 +18,7 @@
#include <malloc.h>
#include <unistd.h>
+#include <sys/socket.h>
#include <linux/netlink.h>
#include "netlink-types.h"

0 comments on commit cdc4a40

Please sign in to comment.