Arduino OTA uodate

when i try to compile an arduino program,i got an error stating “Error compiling for board arduino Uno”

Below shows the complete error message.

In file included from C:\Program Files\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:33:0,

from C:\Users\satya\Desktop\OTA\OTA.ino:1:

C:\Program Files\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:26:19: fatal error: queue.h: No such file or directory

#include <queue.h>

^

compilation terminated.

Using library ESP8266WiFi at version 1.0 in folder: C:\Program Files\Arduino\libraries\ESP8266WiFi
exit status 1
Error compiling for board Arduino/Genuino Uno.

The ESP8266WiFi library is for use only on ESP8266. You're trying to compile for Uno. That library shouldn't even be in your sketchbook folder, it should be in the ESP8266 Arduino core folder.

Ok.Thank you.