I am creating a basic c program for the raspberry pi pico w, I want it to basically log onto the internet and get the time, then using the time switch a relay either on or off.
I am using the curl library as that is what the internet suggests. My issue is I cannot even build the project. I get an the following error:
sys/socket.h: No such file or directory
428 | # include <sys/socket.h>
Please can you help me out with this? here is a link if you could tell me what I am doing wrong that would be awesome: https://github.com/FlawlessCalamity/pico-realay-on-off/tree/main