--- kdelibs-3.5.10/kio/kio/kdirwatch.cpp~ 2009-04-23 17:42:34.000000000 +0300 +++ kdelibs-3.5.10/kio/kio/kdirwatch.cpp 2009-04-23 17:51:10.164116136 +0300 @@ -71,38 +71,7 @@ #include #include #include -// Linux kernel headers are documented to not compile -#define _S390_BITOPS_H -#include - -static inline int inotify_init (void) -{ - return syscall (__NR_inotify_init); -} - -static inline int inotify_add_watch (int fd, const char *name, __u32 mask) -{ - return syscall (__NR_inotify_add_watch, fd, name, mask); -} - -static inline int inotify_rm_watch (int fd, __u32 wd) -{ - return syscall (__NR_inotify_rm_watch, fd, wd); -} -#endif - -#ifdef HAVE_INOTIFY -#ifndef IN_ONLYDIR -#define IN_ONLYDIR 0x01000000 -#endif - -#ifndef IN_DONT_FOLLOW -#define IN_DONT_FOLLOW 0x02000000 -#endif - -#ifndef IN_MOVE_SELF -#define IN_MOVE_SELF 0x00000800 -#endif +#include #endif #include