pineapple-src/externals/libressl/include/compat/sys/ioctl.h

12 lines
199 B
C
Raw Normal View History

2020-12-28 15:15:37 +00:00
/*
* 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