]> git.ipfire.org Git - people/ms/dnsmasq.git/commitdiff
Fix build failure in new inotify code on BSD.
authorMatthias Andree <matthias.andree@gmx.de>
Sat, 27 Dec 2014 15:36:38 +0000 (15:36 +0000)
committerSimon Kelley <simon@thekelleys.org.uk>
Sat, 27 Dec 2014 15:36:38 +0000 (15:36 +0000)
src/inotify.c

index 960bf5efb41f70786096800f043af58f3b3f3afc..83730008c11b33c18a77d6f9b349f19b2f1bf7d0 100644 (file)
 */
 
 #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.