summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/jack/systemdeps.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/jack/systemdeps.h b/common/jack/systemdeps.h
index f316aeb7..33ea6c38 100644
--- a/common/jack/systemdeps.h
+++ b/common/jack/systemdeps.h
@@ -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 */