Makefile: fix dependency

This commit is contained in:
Kay Sievers 2006-08-05 00:00:15 +02:00
parent 22f5934a85
commit b5adfb4f33
2 changed files with 3 additions and 3 deletions

View File

@ -59,6 +59,7 @@ PROGRAMS = \
HEADERS = \ HEADERS = \
udev.h \ udev.h \
udevd.h \
udev_rules.h \ udev_rules.h \
logging.h \ logging.h \
udev_libc_wrapper.h \ udev_libc_wrapper.h \

View File

@ -137,7 +137,7 @@ static inline int inotify_add_watch(int fd, const char *name, uint32_t mask)
#define asmlinkage #define asmlinkage
#endif /* __i386__ */ #endif /* __i386__ */
/* headers are broken on some lazy platforms */ /* headers are broken on some architectures */
#ifndef __FD_SET #ifndef __FD_SET
#define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d)) #define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d))
#endif #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))) #define __FD_ZERO(set) ((void) memset ((void*) (set), 0, sizeof (fd_set)))
#endif #endif
/* missing in some lazy distros */
#ifndef NETLINK_KOBJECT_UEVENT #ifndef NETLINK_KOBJECT_UEVENT
#define NETLINK_KOBJECT_UEVENT 15 #define NETLINK_KOBJECT_UEVENT 15
#endif #endif
#ifndef SO_RCVBUFFORCE #ifndef SO_RCVBUFFORCE