diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-10-30 12:30:04 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-10-30 12:30:04 -0700 |
commit | a9fed0955c5e332120fc6f778065551f7dd7ea86 (patch) | |
tree | c6ec190faa86348260139c03625520e1067b4bec /source3/configure.in | |
parent | 2fce8d83c4f58c9f2214777a3583955682445eff (diff) | |
download | samba-a9fed0955c5e332120fc6f778065551f7dd7ea86.tar.gz samba-a9fed0955c5e332120fc6f778065551f7dd7ea86.tar.xz samba-a9fed0955c5e332120fc6f778065551f7dd7ea86.zip |
use glibc sys/inotify.h header
when we first added the inotify code glibc didn't have the inotify
functions yet. Now that it does we can use the official header and
avoid the asm/unistd.h syscall workaround
Diffstat (limited to 'source3/configure.in')
-rw-r--r-- | source3/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index a37e97c9da6..a59fe32aff1 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2489,7 +2489,7 @@ if test x"$samba_cv_HAVE_KERNEL_CHANGE_NOTIFY" = x"yes"; then fi AC_CACHE_CHECK([for inotify support],samba_cv_HAVE_INOTIFY,[ -AC_CHECK_HEADERS(linux/inotify.h asm/unistd.h) +AC_CHECK_HEADERS(linux/inotify.h asm/unistd.h sys/inotify.h) AC_CHECK_FUNCS(inotify_init) AC_HAVE_DECL(__NR_inotify_init, [#include <asm/unistd.h>]) ], |