Allow inotify to be disabled at compile time on Linux.

This commit is contained in:
Simon Kelley committed 2015-01-26 11:23:43 +00:00
1 parent 61b838dd57
commit 0491805d2f
5 files changed
+37 -16

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@
*/
#include "dnsmasq.h"
#ifdef HAVE_LINUX_NETWORK
#ifdef HAVE_INOTIFY
#include <sys/inotify.h>
@@ -216,5 +216,5 @@ static void check_for_dhcp_inotify(struct inotify_event *in, time_t now)
#endif /* DHCP */
#endif /* LINUX_NETWORK */
#endif /* INOTIFY */