I am trying to get my BH1750 light sensor to work with my esp8266 board. When I build I get the message C:\Program Files (x86)\Arduino\libraries\BH1750\BH1750.cpp:15:24: fatal error: util/delay.h: No such file or directory.
The library (and the sensor) works fine when I use my arduino nano so the library itself is OK.
I installed the esp8266 addon once via the boards manager and once via github. In both cases I get this error. I have no idea how to fix this problem. Can someone please help me?