diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2014-12-27 15:36:38 +0000 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2014-12-27 15:36:38 +0000 |
commit | d310ab7ecbffce79d3d90debba621e0222f9bced (patch) | |
tree | 836f6c2a70b788287e88cb454c67b01956180e51 | |
parent | 0b1008d367d44e77352134a4c5178f896f0db3e7 (diff) | |
download | dnsmasq-d310ab7ecbffce79d3d90debba621e0222f9bced.tar.gz |
Fix build failure in new inotify code on BSD.
-rw-r--r-- | src/inotify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inotify.c b/src/inotify.c index 960bf5e..8373000 100644 --- a/src/inotify.c +++ b/src/inotify.c @@ -15,10 +15,10 @@ */ #include "dnsmasq.h" -#include <sys/inotify.h> - #ifdef HAVE_LINUX_NETWORK +#include <sys/inotify.h> + /* the strategy is to set a inotify on the directories containing resolv files, for any files in the directory which are close-write or moved into the directory. |