From: Matthias Andree Date: Sat, 27 Dec 2014 15:36:38 +0000 (+0000) Subject: Fix build failure in new inotify code on BSD. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d310ab7ecbffce79d3d90debba621e0222f9bced;p=people%2Fms%2Fdnsmasq.git Fix build failure in new inotify code on BSD. --- 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 - #ifdef HAVE_LINUX_NETWORK +#include + /* 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.