3 Nov
2007
3 Nov
'07
11:23 p.m.
On Fri, 2007-11-02 at 20:42 +0100, Paolo wrote:
indeed, I spent a while to convince the autoconf to look that up, but then I realized the problem isn't the path, the test program always fails, simply because the new defs have been splitted in the 2 files mentioned in the wiki, the problem being that inotify.h doesn't #include inotify-syscalls.h on its own, and compile fails for undefined functions, eg inotify_add_watch(), which instead are defined in the single linux/inotify.h.
If you do like the wiki says, you should have only a single inotify.h file containing also inotify-syscall.h's contents.