summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-02-03 13:52:37 +0100
committerKay Sievers <kay.sievers@suse.de>2006-02-03 13:52:37 +0100
commit67f69ae17c2ba2cf54ca40ece1dc42418fb72aaa (patch)
treeed7d78180ca40663c2dd09620c031dd512d8bb18
parenta2a7f7d7af3c44bf9390c9fe168993f4d0916807 (diff)
include sys/socket.h for klibc build
Requested by Aaron Griffin <aaronmgriffin@gmail.com>
-rw-r--r--udev_add.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/udev_add.c b/udev_add.c
index 6de2858313..398dcb58fa 100644
--- a/udev_add.c
+++ b/udev_add.c
@@ -26,11 +26,12 @@
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
+#include <grp.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <grp.h>
-#include <net/if.h>
+#include <sys/socket.h>
#include <sys/ioctl.h>
+#include <net/if.h>
#include <linux/sockios.h>
#include "udev.h"