fix avahi compile on brcm-2.4
[openwrt/svn-archive/archive.git] / libs / avahi / Makefile
index 8f5e88c..a5371d6 100644 (file)
@@ -142,6 +142,7 @@ endif
 
 CONFIGURE_VARS+= \
        CFLAGS="$$$$CFLAGS -DNDEBUG" \
+       $(if $(CONFIG_LINUX_2_4),ac_cv_header_sys_inotify_h=no)
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \