'F' ESP8266 macro (defined in cores/esp8266/WString.h) is undefined in mavesp8266.h to prevent conflict with lib/mavlink/mavlink_sha256.h.
It is needed in ESP8266WebServer-impl.h that gets included from ESP8266WebServer.h.
Reordering those fixes the build, the proper fix would be to rename 'F' in MAVLink subproject.
'F' ESP8266 macro (defined in cores/esp8266/WString.h) is undefined in mavesp8266.h to prevent conflict with lib/mavlink/mavlink_sha256.h. It is needed in ESP8266WebServer-impl.h that gets included from ESP8266WebServer.h. Reordering those fixes the build, the proper fix would be to rename 'F' in MAVLink subproject.