summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udevd.c1
-rw-r--r--udevmonitor.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/udevd.c b/udevd.c
index 333ad4143a..58371ba592 100644
--- a/udevd.c
+++ b/udevd.c
@@ -39,6 +39,7 @@
#include <sys/un.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
+#include <linux/types.h>
#include <linux/netlink.h>
#include "list.h"
diff --git a/udevmonitor.c b/udevmonitor.c
index 805790233f..7d3f0aa538 100644
--- a/udevmonitor.c
+++ b/udevmonitor.c
@@ -29,6 +29,7 @@
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/select.h>
+#include <linux/types.h>
#include <linux/netlink.h>
#include "udev.h"