diff options
author | Marco d'Itri <md@Linux.IT> | 2005-06-23 00:28:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-07-01 12:42:07 -0700 |
commit | a105fe495bdc95a24eaf2db557104534f6e1db34 (patch) | |
tree | 78a355bb650754f783efa158fcafb6e2f2facded /udevd.c | |
parent | 4d8c16072a2d529b40bcc392396c0dc215236f01 (diff) |
[PATCH] #define NETLINK_KOBJECT_UEVENT
On many systems the system kernel headers are not recent enough to
compile udev.
Diffstat (limited to 'udevd.c')
-rw-r--r-- | udevd.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |