sys/inotify.h is the one and only header needed with glibc >= 2.4. diff -r 619a43b2d05b modules/inotify/inotify-cxx.h --- a/modules/inotify/inotify-cxx.h Tue Feb 21 18:04:16 2012 +0100 +++ b/modules/inotify/inotify-cxx.h Mon Apr 09 14:25:05 2012 +0300 @@ -27,15 +27,8 @@ #include <deque> #include <map> -// Please ensure that the following headers take the right place -#include <sys/syscall.h> #include <sys/inotify.h> -// Use this if syscalls not defined -#ifndef __NR_inotify_init -#include <sys/inotify-syscalls.h> -#endif // __NR_inotify_init - /// Event struct size #define INOTIFY_EVENT_SIZE (sizeof(struct inotify_event))
On Tue, Jun 19, 2012 at 3:18 PM, Adrian Bunk <bunk@...> wrote: > sys/inotify.h is the one and only header needed with glibc >= 2.4. > Hi Adrian, Many thanks for the patch, it's merged into the main repository on github. Cheers, -- Bart