I have:
#include "ESP8266WiFi.h"
#include <Dns.h>
in my sketch and I get this:
In file included from /Applications/Arduino.app/Contents/Java/libraries/Ethernet/src/Dhcp.cpp:4:0:
/Applications/Arduino.app/Contents/Java/libraries/Ethernet/src/utility/w5100.h:13:17: fatal error: SPI.h: No such file or directory
#include <SPI.h>
I'm using 1.6.4-673-g8cd3697 as reported by the board manager, but I think it is actually 1.6.5. I built it from git and ran build_all_dist.bash and build_board_manager_package.sh to install into the IDE.
I'm not sure where to start to fix this. Is anyone else use <Dns.h> successfully?