summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udev_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev_device.c b/udev_device.c
index b356f163a5..6dc843ed22 100644
--- a/udev_device.c
+++ b/udev_device.c
@@ -26,7 +26,8 @@
#include <fcntl.h>
#include <errno.h>
#include <ctype.h>
-#include <stropts.h>
+#include <sys/ioctl.h>
+#include <sys/socket.h>
#include <net/if.h>
#include <linux/sockios.h>