server: Use sys/inotify.h if it exists instead of hardcoding the system calls.
diff --git a/configure.ac b/configure.ac
index 60bd78e..c696cb2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -347,6 +347,7 @@
 	sys/event.h \
 	sys/exec_elf.h \
 	sys/filio.h \
+	sys/inotify.h \
 	sys/ioctl.h \
 	sys/ipc.h \
 	sys/limits.h \