]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/dnsmasq/0023-Fix-build-failure-in-new-inotify-code-on-BSD.patch
dnsmasq: Import latest patches from upstream
[ipfire-2.x.git] / src / patches / dnsmasq / 0023-Fix-build-failure-in-new-inotify-code-on-BSD.patch
CommitLineData
6644c1c7
MT
1From d310ab7ecbffce79d3d90debba621e0222f9bced Mon Sep 17 00:00:00 2001
2From: Matthias Andree <matthias.andree@gmx.de>
3Date: Sat, 27 Dec 2014 15:36:38 +0000
263d0a71 4Subject: [PATCH 23/71] 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
10diff --git a/src/inotify.c b/src/inotify.c
11index 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--
282.1.0
29