summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/showmsg.h2
-rw-r--r--src/common/winapi.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/common/showmsg.h b/src/common/showmsg.h
index 4300c29d6..f3fb50257 100644
--- a/src/common/showmsg.h
+++ b/src/common/showmsg.h
@@ -7,6 +7,8 @@
#include <stdarg.h>
+#include "../common/cbasetypes.h"
+
#ifdef HERCULES_CORE
# include "../../3rdparty/libconfig/libconfig.h"
#else
diff --git a/src/common/winapi.h b/src/common/winapi.h
index b7c2bea1e..a8a38f30e 100644
--- a/src/common/winapi.h
+++ b/src/common/winapi.h
@@ -24,6 +24,7 @@
#define _CRT_SECURE_NO_WARNINGS
#define _CRT_NONSTDC_NO_WARNINGS
+#define _WINSOCK_DEPRECATED_NO_WARNINGS
#include <io.h>
#include <Windows.h>