From b23c0494d5c01918621a2d96e5a4adfea044c0e1 Mon Sep 17 00:00:00 2001 From: Eric Frias Date: Wed, 25 Jun 2014 18:47:24 -0400 Subject: [PATCH] Get UDT compiling, on win32 at least --- vendor/udt4/src/common.h | 1 + vendor/udt4/src/udt.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/vendor/udt4/src/common.h b/vendor/udt4/src/common.h index 3782d61..20c0bb4 100644 --- a/vendor/udt4/src/common.h +++ b/vendor/udt4/src/common.h @@ -50,6 +50,7 @@ written by #include #endif #include +#include #include "udt.h" diff --git a/vendor/udt4/src/udt.h b/vendor/udt4/src/udt.h index 6436363..7dc75a3 100644 --- a/vendor/udt4/src/udt.h +++ b/vendor/udt4/src/udt.h @@ -58,6 +58,8 @@ written by #include #include +#include + //////////////////////////////////////////////////////////////////////////////// @@ -69,7 +71,7 @@ written by #ifdef WIN32 - #ifndef __MINGW__ + #if !defined(__MINGW__) && defined(UDT_IS_DLL) // Explicitly define 32-bit and 64-bit numbers typedef __int32 int32_t; typedef __int64 int64_t;