Some includes giving me trouble right off the bat #AT4

I have a few includes that are giving me some issues. I started looking around for these files, but found that unistd.h is a unix file. Is this course able to be done in Windows?

#include <unistd.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netdb.h>
1 Like

The tests run on linux, you can use wsl on windows and it works fine.

You could make your code work in both windows and linux with preprocessor defines which specify your OS, but that is tedious though.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.