summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-10-19 11:13:07 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-10-19 11:13:07 +0200
commitb49f780f7a91a4b697bf3ca1e3b0120ed052d0f0 (patch)
tree849bc60c647c162091e38cce8fe1fc3f914a16b2
parentfd5aaeee0c75a1efe36c2d7639c1b7744d0cb38f (diff)
fix compile on VS2013 (need check on VS2015 if this is needed at all) (nw)
-rw-r--r--src/osd/osdcomm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osd/osdcomm.h b/src/osd/osdcomm.h
index 3658fbc4814..9ba457cbb93 100644
--- a/src/osd/osdcomm.h
+++ b/src/osd/osdcomm.h
@@ -225,6 +225,8 @@ typedef UINT32 FPTR;
#ifdef _MSC_VER
#include <malloc.h>
+#include <BaseTsd.h>
+typedef SSIZE_T ssize_t;
#if _MSC_VER == 1900 // < VS2015
#define __LINE__Var 0
#endif