pineapple-src/externals/libressl/include/compat/sys/ioctl.h
2020-12-28 15:15:37 +00:00

11 lines
199 B
C
Executable file

/*
* Public domain
* sys/ioctl.h compatibility shim
*/
#ifndef _WIN32
#include_next <sys/ioctl.h>
#else
#include <win32netcompat.h>
#define ioctl(fd, type, arg) ioctlsocket(fd, type, arg)
#endif