summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"