Ticket #6516: 6516-fix-windows-compilation-after-r21591.patch
File 6516-fix-windows-compilation-after-r21591.patch, 699 bytes (added by , 15 years ago) |
---|
-
libs/libmythdb/mythsocketthread.cpp
3 3 #include <cassert> 4 4 5 5 // POSIX 6 #ifdef USING_MINGW 7 #include <winsock2.h> // for select 8 #else 6 9 #include <sys/select.h> // for select 10 #endif 7 11 #include <sys/types.h> // for fnctl 8 12 #include <unistd.h> // for fnctl & other 9 13 #include <fcntl.h> // for fnctl 10 14 #include <errno.h> // for checking errno 11 15 12 // Microsoft13 #ifdef USING_MINGW14 #include <winsock2.h>15 #endif16 17 16 // MythTV 18 17 #include "mythsocketthread.h" 19 18 #include "mythsocket.h"