Differences From Artifact [9ed038db51]:
- File src/socket.h — part of check-in [5ca844dd3b] at 2014-02-28 00:41:27 on branch trunk — Make MinGW32 and MinGW-w64 happy at the same time (user: js, size: 1310) [annotate] [blame] [check-ins using]
To Artifact [bc099d612b]:
- File
src/socket.h
— part of check-in
[4de1f2a67a]
at
2014-03-05 00:31:49
on branch trunk
— Move netinet/in.h include to socket.h
This is required as OFKernelEventObserver uses struct sockaddr_in as an
instance variable in case there is no pipe(). (user: js, size: 1370) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # error No sockets available! #endif #include <stdbool.h> #ifdef OF_HAVE_SYS_SOCKET_H # include <sys/socket.h> #endif #ifdef _WIN32 # ifdef __MINGW32__ # include <_mingw.h> # ifdef __MINGW64_VERSION_MAJOR # include <winsock2.h> | > > > | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | # error No sockets available! #endif #include <stdbool.h> #ifdef OF_HAVE_SYS_SOCKET_H # include <sys/socket.h> #endif #ifdef OF_HAVE_NETINET_IN_H # include <netinet/in.h> #endif #ifdef _WIN32 # ifdef __MINGW32__ # include <_mingw.h> # ifdef __MINGW64_VERSION_MAJOR # include <winsock2.h> |
︙ | ︙ |