Ticket #6516: 6516-fix-windows-compilation-after-r21591.patch

File 6516-fix-windows-compilation-after-r21591.patch, 699 bytes (added by Jonathan Martens <jonathan@…>, 11 years ago)

Fix compilation on windows after [21591]

  • libs/libmythdb/mythsocketthread.cpp

     
    33#include <cassert>
    44
    55// POSIX
     6#ifdef USING_MINGW
     7#include <winsock2.h>   // for select
     8#else
    69#include <sys/select.h> // for select
     10#endif
    711#include <sys/types.h>  // for fnctl
    812#include <unistd.h>     // for fnctl & other
    913#include <fcntl.h>      // for fnctl
    1014#include <errno.h>      // for checking errno
    1115
    12 // Microsoft
    13 #ifdef USING_MINGW
    14 #include <winsock2.h>
    15 #endif
    16 
    1716// MythTV
    1817#include "mythsocketthread.h"
    1918#include "mythsocket.h"