From: Lennart Poettering Date: Sat, 21 Apr 2007 18:51:49 +0000 (+0000) Subject: Add missing #ifdef to avoid build failure on system having neither sys/inotify.h X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=6c39de0af096cc6ddbcc27d49451b9bee13dbd6c;p=catta 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 --- 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