GNOME Bugzilla – Bug 556196
Include <sys/inotify.h>, not <linux/inotify.h>
Last modified: 2009-05-13 13:12:58 UTC
According to LKML[1] userspace applications and libraries should include <sys/inofity.h>. Including <linux/inotify.h> causes compilation errors on recent kernels. [1] http://linux.derkeiler.com/Mailing-Lists/Kernel/2008-09/msg05359.html
Created attachment 120535 [details] [review] Include <sys/inotify.h> Patch to simply replace the include paths, and remove the unneeded shim header. According to the linked mailing list <sys/inotify.h> has been included for a long time, so I don't think there's a need to retain the compatibility stuff.
Fixed. Thanks for the report and the patch! The help is most welcomed :)
*** Bug 553099 has been marked as a duplicate of this bug. ***