27 #ifndef GNASH_SYSTEM_FD_HEADERS
28 #define GNASH_SYSTEM_FD_HEADERS
32 #ifdef HAVE_WINSOCK2_H
33 # include <winsock2.h>
36 inline int ioctlSocket(
int fd,
int request,
int* arg) {
37 unsigned long p = *arg;
38 const int ret = ::ioctlsocket(fd, request, &p);
47 # include <sys/types.h>
48 # include <sys/stat.h>
50 # include <sys/ioctl.h>
54 inline int ioctlSocket(
int fd,
int request,
int* arg) {
55 return ::ioctl(fd, request, arg);
Definition: GnashKey.h:162