From 83b201f30bdb410a2646dc2cec8e4b73f8f50a7d Mon Sep 17 00:00:00 2001 From: cristianadam Date: Tue, 26 Aug 2008 17:48:38 +0000 Subject: [PATCH] Visual Studio Express 9.0 SP1 doesn't have size_t defined. There were source files where #include was the first include. os_types.h seamed the perfect place put the necessary #include statement. git-svn-id: http://svn.xiph.org/trunk@15204 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- oggdsf/src/lib/core/ogg/libogg/include/ogg/os_types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/oggdsf/src/lib/core/ogg/libogg/include/ogg/os_types.h b/oggdsf/src/lib/core/ogg/libogg/include/ogg/os_types.h index a42f8007e..627accdcb 100644 --- a/oggdsf/src/lib/core/ogg/libogg/include/ogg/os_types.h +++ b/oggdsf/src/lib/core/ogg/libogg/include/ogg/os_types.h @@ -50,6 +50,10 @@ typedef unsigned short ogg_uint16_t; # else /* MSVC/Borland */ +#ifndef size_t + // Visual Studio Express 9.0 SP1 doesn't have size_t defined + #include +#endif typedef __int64 ogg_int64_t; typedef __int32 ogg_int32_t; typedef unsigned __int32 ogg_uint32_t; -- 2.11.4.GIT