1 --- kdelibs-3.5.10/kio/kio/kdirwatch.cpp~ 2009-04-23 17:42:34.000000000 +0300
2 +++ kdelibs-3.5.10/kio/kio/kdirwatch.cpp 2009-04-23 17:51:10.164116136 +0300
6 #include <sys/syscall.h>
7 -// Linux kernel headers are documented to not compile
8 -#define _S390_BITOPS_H
9 -#include <linux/inotify.h>
11 -static inline int inotify_init (void)
13 - return syscall (__NR_inotify_init);
16 -static inline int inotify_add_watch (int fd, const char *name, __u32 mask)
18 - return syscall (__NR_inotify_add_watch, fd, name, mask);
21 -static inline int inotify_rm_watch (int fd, __u32 wd)
23 - return syscall (__NR_inotify_rm_watch, fd, wd);
29 -#define IN_ONLYDIR 0x01000000
32 -#ifndef IN_DONT_FOLLOW
33 -#define IN_DONT_FOLLOW 0x02000000
37 -#define IN_MOVE_SELF 0x00000800
39 +#include <sys/inotify.h>
42 #include <sys/utsname.h>