On 4/10/06, Dan Nicholson <[EMAIL PROTECTED]> wrote:
>
> Actually, gnome-vfs just checks
> for the existence of inotify.h.  It has its' own internal copy called
> inotify-kernel.h that it uses.

Slight lie.  The internal one is called local_inotify.h.  It appears
that they used to try to include the system header, but it was causing
problems.  Here's a snip from inotify-helper.c:

/* Just include the local header to stop all the pain */
#include "local_inotify.h"
#if 0
#ifdef HAVE_SYS_INOTIFY_H
/* We don't actually include the libc header, because there has been
 * problems with libc versions that was built without inotify support.
 * Instead we use the local version.
 */
#include "local_inotify.h"
#elif defined (HAVE_LINUX_INOTIFY_H)
#include <linux/inotify.h>
#endif
#endif

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to