From: Marco d'Itri Date: Wed, 22 Jun 2005 22:28:54 +0000 (+0200) Subject: [PATCH] #define NETLINK_KOBJECT_UEVENT X-Git-Tag: 060~4 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=a105fe495bdc95a24eaf2db557104534f6e1db34;hp=4d8c16072a2d529b40bcc392396c0dc215236f01;ds=sidebyside [PATCH] #define NETLINK_KOBJECT_UEVENT On many systems the system kernel headers are not recent enough to compile udev. --- diff --git a/udevd.c b/udevd.c index e3ee1457c..f69abc4c0 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;