Browse Source

Windows: winsock2.h must be included before including windows.h

tags/v1.9.12
Kjetil Matheussen 8 years ago
parent
commit
b4bdb9fe35
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      common/jack/systemdeps.h

+ 4
- 0
common/jack/systemdeps.h View File

@@ -60,6 +60,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

#if defined(_WIN32) && !defined(__CYGWIN__) && !defined(GNU_WIN32)

#ifdef __MINGW32__
# include <winsock2.h> // mingw gives warning if we include windows.h before winsock2.h
#endif

#include <windows.h>

#ifdef _MSC_VER /* Microsoft compiler */


Loading…
Cancel
Save