diff --git a/Makefile b/Makefile index 6b3fd467..b45d2dca 100644 --- a/Makefile +++ b/Makefile @@ -228,6 +228,7 @@ sdk_patch: .sdk_patch_$(VENDOR_SDK_VERSION) .sdk_patch_1.4.0: patch -N -d $(VENDOR_SDK_DIR_1.4.0) -p1 < $(PATCHES_DIR)/c_types-c99.patch + patch -N -d $(VENDOR_SDK_DIR_1.4.0) -p1 < $(PATCHES_DIR)/dhcps_lease-1.4.0.patch @touch $@ .sdk_patch_1.3.0: diff --git a/src/patches/dhcps_lease-1.4.0.patch b/src/patches/dhcps_lease-1.4.0.patch new file mode 100644 index 00000000..76ff8013 --- /dev/null +++ b/src/patches/dhcps_lease-1.4.0.patch @@ -0,0 +1,12 @@ +--- esp_sdk.org/include/user_interface.h 2016-01-01 21:22:29.000000000 +0200 ++++ esp_sdk/include/user_interface.h 2015-09-22 04:13:52.000000000 +0300 +@@ -275,6 +275,9 @@ + }; + + struct dhcps_lease { ++#ifdef LWIP_OPEN_SRC ++ bool enable; ++#endif + struct ip_addr start_ip; + struct ip_addr end_ip; + };