After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 556196 - Include <sys/inotify.h>, not <linux/inotify.h>
Include <sys/inotify.h>, not <linux/inotify.h>
Status: RESOLVED FIXED
Product: libinotify
Classification: Deprecated
Component: general
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: Libinotify Maintainer(s)
Libinotify Maintainer(s)
: 553099 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-10-13 21:56 UTC by John Millikin
Modified: 2009-05-13 13:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Include <sys/inotify.h> (4.14 KB, patch)
2008-10-13 21:57 UTC, John Millikin
committed Details | Review

Description John Millikin 2008-10-13 21:56:07 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
Comment 1 John Millikin 2008-10-13 21:57:45 UTC
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.
Comment 2 Martyn Russell 2008-10-14 10:59:26 UTC
Fixed.

Thanks for the report and the patch!
The help is most welcomed :)
Comment 3 Jürg Billeter 2009-05-13 13:12:58 UTC
*** Bug 553099 has been marked as a duplicate of this bug. ***