summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco d'Itri <md@Linux.IT>2005-06-23 00:28:54 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-01 12:42:07 -0700
commita105fe495bdc95a24eaf2db557104534f6e1db34 (patch)
tree78a355bb650754f783efa158fcafb6e2f2facded
parent4d8c16072a2d529b40bcc392396c0dc215236f01 (diff)
[PATCH] #define NETLINK_KOBJECT_UEVENT
On many systems the system kernel headers are not recent enough to compile udev.
-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;