Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
am 50e2555: Merge "Always include <sys/socket.h> before <linux/netlin…
Browse files Browse the repository at this point in the history
…k.h>."

* commit '50e2555d6c824bd3c7e664f222061158a83ac705':
  Always include <sys/socket.h> before <linux/netlink.h>.
  • Loading branch information
enh-google authored and Android Git Automerger committed Sep 12, 2012
2 parents eb7ee9c + 50e2555 commit cb71ed3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions charger/charger.c
Expand Up @@ -21,19 +21,20 @@
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <linux/input.h> #include <linux/input.h>
#include <linux/netlink.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/poll.h> #include <sys/poll.h>
#include <sys/socket.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/un.h> #include <sys/un.h>
#include <time.h> #include <time.h>
#include <unistd.h> #include <unistd.h>


#include <sys/socket.h>
#include <linux/netlink.h>

#include <cutils/android_reboot.h> #include <cutils/android_reboot.h>
#include <cutils/klog.h> #include <cutils/klog.h>
#include <cutils/list.h> #include <cutils/list.h>
Expand Down
1 change: 1 addition & 0 deletions libnl_2/genl/genl.c
Expand Up @@ -20,6 +20,7 @@
#include <unistd.h> #include <unistd.h>
#include <stdio.h> #include <stdio.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/socket.h>
#include <linux/netlink.h> #include <linux/netlink.h>
#include "netlink-types.h" #include "netlink-types.h"


Expand Down
1 change: 1 addition & 0 deletions libnl_2/msg.c
Expand Up @@ -18,6 +18,7 @@


#include <malloc.h> #include <malloc.h>
#include <unistd.h> #include <unistd.h>
#include <sys/socket.h>
#include <linux/netlink.h> #include <linux/netlink.h>
#include "netlink-types.h" #include "netlink-types.h"


Expand Down

0 comments on commit cb71ed3

Please sign in to comment.