https://nurdspace.nl/ESP8266/First_setup
I tried to following the example that is given and get:
CC driver/uart.c
In file included from /usr/include/string.h:25:0,
from /opt/Espressif/ESP8266_SDK/include/osapi.h:8,
from driver/uart.c:13:
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory
# include <sys/cdefs.h>
looks like the headers are missing. Any idea what I am doing wrong?