--- kdelibs-3.5.10/kio/kio/kdirwatch.cpp.orig 2006-07-22 10:16:37.000000000 +0200 +++ kdelibs-3.5.10/kio/kio/kdirwatch.cpp 2009-07-02 22:37:09.776616849 +0200 @@ -69,37 +69,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); -} - -#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