Skip to content

Commit cd4c6d1

Browse files
authored
Update WiFiGeneric.h
1 parent f598aa2 commit cd4c6d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/WiFi/src/WiFiGeneric.h

+2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
#include "IPAddress.h"
3434
#include "esp_smartconfig.h"
3535
#include "esp_netif_types.h"
36+
#if CONFIG_ETH_ENABLED
3637
#include "esp_eth_driver.h"
38+
#endif
3739
#if CONFIG_NETWORK_PROV_NETWORK_TYPE_WIFI
3840
#include "network_provisioning/manager.h"
3941
#endif

0 commit comments

Comments
 (0)