Permalink
Browse files

Implementation of kqueue-based filesystem monitor

  • Loading branch information...
1 parent 16206c0 commit 2d38aed1c53060655b5b8d84c7aaff5049c41b36 @hedger committed Nov 11, 2013
Showing with 307 additions and 18 deletions.
  1. +1 −1 configure.ac
  2. +287 −13 inotify.c
  3. +6 −0 inotify.h
  4. +3 −3 metadata.c
  5. +9 −0 minidlna.c
  6. +1 −1 scanner.c
View
@@ -437,7 +437,7 @@ AC_CHECK_LIB(vorbisfile, vorbis_comment_query,
################################################################################################################
### Header checks
-AC_CHECK_HEADERS([arpa/inet.h asm/unistd.h endian.h machine/endian.h fcntl.h libintl.h locale.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/file.h sys/inotify.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h unistd.h])
+AC_CHECK_HEADERS([arpa/inet.h asm/unistd.h endian.h machine/endian.h fcntl.h libintl.h locale.h netdb.h netinet/in.h stddef.h stdlib.h string.h sys/file.h sys/inotify.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h unistd.h sys/event.h])
AC_CHECK_FUNCS(inotify_init, AC_DEFINE(HAVE_INOTIFY,1,[Whether kernel has inotify support]), [
AC_MSG_CHECKING([for __NR_inotify_init syscall])
Oops, something went wrong.

0 comments on commit 2d38aed

Please sign in to comment.