summary refs log tree commit diff
path: root/include/compat/sys/ioctl.h
blob: a255506c5ced5a40257615089179fe3086b0fb45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/*
 * 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