fix avahi compile on brcm-2.4
[openwrt/svn-archive/archive.git] / libs / avahi / Makefile
index 8f5e88ca5f74146dfffb93937f11e86ce4eb6afe..a5371d6de4307707f3170a5bc731b7e4350b1e17 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) \