I have to study and later on work on a code I received from a (currently absent) colleague. Sadly the code includes some linux includes.
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/can.h>
#include <linux/can/raw.h>
I already found a replacement for the following ones:
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN 1
#include <winsock2.h>
#include <windows.h>
#else
// unix includes here
# include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
#endif
I tried to find a replacement on Google but failed. :/ Does anyone know the corresponding windows includes or how I might find them?
Thank you for your help :)