Fix build failure in new inotify code on BSD.

This commit is contained in:
Matthias Andree
2014-12-27 15:36:38 +00:00
committed by Simon Kelley
parent 0b1008d367
commit d310ab7ecb

View File

@@ -15,10 +15,10 @@
*/ */
#include "dnsmasq.h" #include "dnsmasq.h"
#include <sys/inotify.h>
#ifdef HAVE_LINUX_NETWORK #ifdef HAVE_LINUX_NETWORK
#include <sys/inotify.h>
/* the strategy is to set a inotify on the directories containing /* the strategy is to set a inotify on the directories containing
resolv files, for any files in the directory which are close-write resolv files, for any files in the directory which are close-write
or moved into the directory. or moved into the directory.