summaryrefslogtreecommitdiff
path: root/udev_libc_wrapper.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-08-04 12:24:41 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-04 12:24:41 +0200
commit47e353f9b9c1a95d4e7cdf0e9be3d746585851f1 (patch)
tree2a456bb65b65ac2bad11abedcecaac5e500989b3 /udev_libc_wrapper.h
parentcfb7ac2b5b3ff38cd9be8a515eaa31696cca7941 (diff)
add NETLINK define for the lazy distros
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_libc_wrapper.h')
-rw-r--r--udev_libc_wrapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/udev_libc_wrapper.h b/udev_libc_wrapper.h
index 4bb68913a9..a12af64c24 100644
--- a/udev_libc_wrapper.h
+++ b/udev_libc_wrapper.h
@@ -42,6 +42,10 @@
#define __FD_ZERO(set) ((void) memset ((void*) (set), 0, sizeof (fd_set)))
#endif
+#ifndef NETLINK_KOBJECT_UEVENT
+#define NETLINK_KOBJECT_UEVENT 15
+#endif
+
#include <string.h>
#ifdef __KLIBC__