summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-08-05 00:00:15 +0200
committerKay Sievers <kay.sievers@suse.de>2006-08-05 00:00:15 +0200
commitb5adfb4f3387a5dcfcdb5a5996c249b1d14aa44a (patch)
treea20b5b802bd0c7e08508616b0d87611609b2450b
parent22f5934a852d623d56746b23175f5e5036c7ae27 (diff)
Makefile: fix dependency
-rw-r--r--Makefile1
-rw-r--r--udev_libc_wrapper.h5
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ac5702b776..75789b9996 100644
--- a/Makefile
+++ b/Makefile
@@ -59,6 +59,7 @@ PROGRAMS = \
HEADERS = \
udev.h \
+ udevd.h \
udev_rules.h \
logging.h \
udev_libc_wrapper.h \
diff --git a/udev_libc_wrapper.h b/udev_libc_wrapper.h
index 238a4752f2..6755aa1c74 100644
--- a/udev_libc_wrapper.h
+++ b/udev_libc_wrapper.h
@@ -137,7 +137,7 @@ static inline int inotify_add_watch(int fd, const char *name, uint32_t mask)
#define asmlinkage
#endif /* __i386__ */
-/* headers are broken on some lazy platforms */
+/* headers are broken on some architectures */
#ifndef __FD_SET
#define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d))
#endif
@@ -151,9 +151,8 @@ static inline int inotify_add_watch(int fd, const char *name, uint32_t mask)
#define __FD_ZERO(set) ((void) memset ((void*) (set), 0, sizeof (fd_set)))
#endif
-/* missing in some lazy distros */
#ifndef NETLINK_KOBJECT_UEVENT
-#define NETLINK_KOBJECT_UEVENT 15
+#define NETLINK_KOBJECT_UEVENT 15
#endif
#ifndef SO_RCVBUFFORCE