X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=trunk%2Fltt-control%2Flttd%2Flttd.c;h=f9e7f3b815593ece3850cab3a9073721044ff16d;hb=8d91577fa5394637b00f03e8f25ce1549c4442e8;hp=30c7084cb7577077a47821d9e16bf5eca923d500;hpb=4e1c69e6aff49427e5158a306a341e04e5a84bb9;p=ltt-control.git diff --git a/trunk/ltt-control/lttd/lttd.c b/trunk/ltt-control/lttd/lttd.c index 30c7084..f9e7f3b 100644 --- a/trunk/ltt-control/lttd/lttd.c +++ b/trunk/ltt-control/lttd/lttd.c @@ -51,7 +51,8 @@ #define RELAY_GET_SUBBUF_SIZE _IOR(0xF5, 0x03,__u32) #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14) -#include +#include +#if 0 /* should now be provided by libc. */ /* From the inotify-tools 2.6 package */ static inline int inotify_init (void) { @@ -67,6 +68,7 @@ static inline int inotify_rm_watch (int fd, __u32 wd) { return syscall (__NR_inotify_rm_watch, fd, wd); } +#endif //0 #define HAS_INOTIFY #else static inline int inotify_init (void)