ESP32 WiFi.h compile error

Try looking at the Board samples.