changeset 3886:598be05460f5 HEAD

Include sys/inotify.h instead of linux/inotify.h. Patch by Marcus Rueckert
author Timo Sirainen <tss@iki.fi>
date Sun, 15 Jan 2006 14:11:11 +0200
parents b624b687fe13
children f95146a34af9
files configure.in
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Sun Jan 15 12:07:32 2006 +0200
+++ b/configure.in	Sun Jan 15 14:11:11 2006 +0200
@@ -390,8 +390,7 @@
     #define _GNU_SOURCE
     #include <sys/ioctl.h>
     #include <fcntl.h>
-    #include <linux/inotify.h>
-    #include <linux/inotify-syscalls.h>
+    #include <sys/inotify.h>
     #include <stdio.h>
   ], [
     int wd, fd;
@@ -413,7 +412,7 @@
     have_notify=inotify
     AC_DEFINE(IOLOOP_NOTIFY_INOTIFY,, Use Linux inotify)
   ], [
-    AC_MSG_ERROR([inotify requested but not available, check for existence of <linux/inotify.h> and <linux/inotify-syscalls.h>])
+    AC_MSG_ERROR([inotify requested but not available, check for existence of <sys/inotify.h>])
   ])
 elif test "$notify" = "kqueue"; then
   dnl * BSD kqueue() notify