summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/asio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/asio.h')
-rw-r--r--src/osd/asio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osd/asio.h b/src/osd/asio.h
index 67efe07acda..1bcf610610f 100644
--- a/src/osd/asio.h
+++ b/src/osd/asio.h
@@ -17,6 +17,9 @@
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif
+#if defined(WIN32) && !defined(_WIN32_WINNT)
+#define _WIN32_WINNT 0x0501
+#endif
#define ASIO_HEADER_ONLY
#define ASIO_STANDALONE
#define ASIO_SEPARATE_COMPILATION