From 6c39de0af096cc6ddbcc27d49451b9bee13dbd6c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 21 Apr 2007 18:51:49 +0000 Subject: [PATCH] Add missing #ifdef to avoid build failure on system having neither sys/inotify.h nor linux/inotify.h (Patch from Sven Wegener) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1452 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-daemon/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c index 0367b98..d994392 100644 --- a/avahi-daemon/main.c +++ b/avahi-daemon/main.c @@ -42,11 +42,13 @@ #include #include +#ifdef HAVE_INOTIFY #ifdef HAVE_SYS_INOTIFY_H #include #else #include "inotify-nosys.h" #endif +#endif #include #include -- 2.39.5