xsupplicant: fix compile errors related to iwlib.h
[openwrt/svn-archive/archive.git] / net / xsupplicant / Makefile
index 03296e53cd28bcb1f462bb844e057c76e1cab540..ec56621a523c5f4401d1d23aa58ebdfec578fc91 100644 (file)
@@ -36,6 +36,8 @@ define Package/xsupplicant/conffiles
 /etc/xsupplicant.conf
 endef
 
 /etc/xsupplicant.conf
 endef
 
+TARGET_CFLAGS += --std=gnu99
+
 CONFIGURE_ARGS+= \
        --with-openssl="$(STAGING_DIR)/usr" \
        --with-madwifi-path="$(STAGING_DIR)/usr/include/madwifi" \
 CONFIGURE_ARGS+= \
        --with-openssl="$(STAGING_DIR)/usr" \
        --with-madwifi-path="$(STAGING_DIR)/usr/include/madwifi" \