From 27bdad53553a35e5e5610ebc4ff21d6380162bec Mon Sep 17 00:00:00 2001 From: Fredrik Mellbin Date: Sun, 14 Sep 2008 20:14:59 +0000 Subject: [PATCH] FFmpegSource2: more portability Originally committed to SVN as r2359. --- FFmpegSource2/MatroskaParser.h | 2 ++ FFmpegSource2/utils.cpp | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/FFmpegSource2/MatroskaParser.h b/FFmpegSource2/MatroskaParser.h index 53dc49918..66647e1df 100644 --- a/FFmpegSource2/MatroskaParser.h +++ b/FFmpegSource2/MatroskaParser.h @@ -41,6 +41,8 @@ * system */ +#include + #ifdef MPDLLBUILD #define X __declspec(dllexport) #else diff --git a/FFmpegSource2/utils.cpp b/FFmpegSource2/utils.cpp index 9f6f94592..8ca3d07ff 100644 --- a/FFmpegSource2/utils.cpp +++ b/FFmpegSource2/utils.cpp @@ -21,7 +21,12 @@ #include "utils.h" #include #include -#include + +#ifdef _MSC_VER +# include +#else +# include +#endif int GetCPUFlags() { int CPUInfo[4];