]>
Commit | Line | Data |
---|---|---|
6644c1c7 MT |
1 | From d310ab7ecbffce79d3d90debba621e0222f9bced Mon Sep 17 00:00:00 2001 |
2 | From: Matthias Andree <matthias.andree@gmx.de> | |
3 | Date: Sat, 27 Dec 2014 15:36:38 +0000 | |
efbd3a9a | 4 | Subject: [PATCH 23/98] Fix build failure in new inotify code on BSD. |
6644c1c7 MT |
5 | |
6 | --- | |
7 | src/inotify.c | 4 ++-- | |
8 | 1 file changed, 2 insertions(+), 2 deletions(-) | |
9 | ||
10 | diff --git a/src/inotify.c b/src/inotify.c | |
11 | index 960bf5efb41f..83730008c11b 100644 | |
12 | --- a/src/inotify.c | |
13 | +++ b/src/inotify.c | |
14 | @@ -15,10 +15,10 @@ | |
15 | */ | |
16 | ||
17 | #include "dnsmasq.h" | |
18 | -#include <sys/inotify.h> | |
19 | - | |
20 | #ifdef HAVE_LINUX_NETWORK | |
21 | ||
22 | +#include <sys/inotify.h> | |
23 | + | |
24 | /* the strategy is to set a inotify on the directories containing | |
25 | resolv files, for any files in the directory which are close-write | |
26 | or moved into the directory. | |
27 | -- | |
28 | 2.1.0 | |
29 |