![](https://secure.gravatar.com/avatar/ac7af318fa6403c7144d44875ae02f86.jpg?s=120&d=mm&r=g)
On Thursday 02 March 2006 2:17, Johannes Winkelmann wrote:
Maybe we could have a look at opensuse/novell's glibc, after all Robert Love works there. Hmm, that's a good idea.
Maybe we can just use http://www.kernel.org/pub/linux/kernel/people/rml/inotify/headers/ That was my original intent, but then I noticed that the that inotify.h is quite a bit different then the one in my kernel (2.6.14.2), and in what will probably be the kernel most CRUX-2.2 users will use (2.6.15.5+). I've attached diffs for each to illustrate the changes.
Update: Well, I copied the inotify.h from linux-2.6.15.5/include/linux/inotify.h to /usr/include/linux/inotify.h, rebuilt gamin with debugging enabled, and it finds and uses inotify (where before it used dnotify). Using the inotify.h from 2.6.14.2 results in lots of "wd" errors. Does "wd" stand for word-descriptors, and are this file-system related? At any rate, the inotify.h from linux-2.6.15.5 works great. Attached are diffs for showing how the different inotify.h's are different, and my glibc/Pkgfile patch, and linux-2.6.15.5/include/linux/inotify.h. Cheers, Nick