summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevd.c')
-rw-r--r--udevd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/udevd.c b/udevd.c
index e3ee1457cb..f69abc4c09 100644
--- a/udevd.c
+++ b/udevd.c
@@ -48,6 +48,10 @@
#include "udevd.h"
#include "logging.h"
+#ifndef NETLINK_KOBJECT_UEVENT
+#define NETLINK_KOBJECT_UEVENT 15
+#endif
+
/* global variables*/
static int udevd_sock;
static int uevent_netlink_sock;