Can't Compiling

i want testing modul ESP8266 but can’t compiling, im Using Arduino Uno R3 and Arduino 1.6.9

/*
 *  This sketch demonstrates how to scan WiFi networks. 
 *  The API is almost the same as with the WiFi Shield library, 
 *  the most obvious difference being the different file you need to include:
 */
#include "ESP8266WiFi.h"

void setup() {
  Serial.begin(115200);

  // Set WiFi to station mode and disconnect from an AP if it was previously connected
  WiFi.mode(WIFI_STA);
  WiFi.disconnect();
  delay(100);

  Serial.println("Setup done");
}

void loop() {
  Serial.println("scan start");

  // WiFi.scanNetworks will return the number of networks found
  int n = WiFi.scanNetworks();
  Serial.println("scan done");
  if (n == 0)
    Serial.println("no networks found");
  else
  {
    Serial.print(n);
    Serial.println(" networks found");
    for (int i = 0; i < n; ++i)
    {
      // Print SSID and RSSI for each network found
      Serial.print(i + 1);
      Serial.print(": ");
      Serial.print(WiFi.SSID(i));
      Serial.print(" (");
      Serial.print(WiFi.RSSI(i));
      Serial.print(")");
      Serial.println((WiFi.encryptionType(i) == ENC_TYPE_NONE)?" ":"*");
      delay(10);
    }
  }
  Serial.println("");

  // Wait a bit before scanning again
  delay(5000);
}

error like this :

Arduino: 1.6.9 (Windows 8.1), Board: "Arduino/Genuino Uno"

In file included from C:\Users\crash_team\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:33:0,

                 from C:\Users\crash_team\Documents\Arduino\libraries\ESP8266WiFi\examples\WiFiScan\WiFiScan.ino:6:

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

 #include <queue.h>

                   ^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

can help me ?

The ESP8266WiFi library is written for use with the ESP8266 core for Arduino: https://github.com/esp8266/Arduino You can't use it with the Arduino/Genuino Uno you're trying to compile for.

That library is a part of the ESP8266 core for Arduino core and it makes absolutely no sense to have it installed to your sketchbook folder. I recommend you to delete it to prevent future problems.

If you want any further help you'll need to explain exactly what you're trying to accomplish.

pert: The ESP8266WiFi library is written for use with the ESP8266 core for Arduino: https://github.com/esp8266/Arduino You can't use it with the Arduino/Genuino Uno you're trying to compile for.

That library is a part of the ESP8266 core for Arduino core and it makes absolutely no sense to have it installed to your sketchbook folder. I recommend you to delete it to prevent future problems.

If you want any further help you'll need to explain exactly what you're trying to accomplish.

I want to send data to cloud from arduino using ESP8266 module as its module, and initially before getting there, I want to create script for ESP8266 configuration to connect to my network.

But when I try the result like that.

Generally for that usage of the ESP8266 I recommend this library:

It’s certainly possible to accomplish what you’re trying to do but there are some potential difficulties. Whether these affect you is impossible to say without more information. Good luck!