From f091576042b24552225aba000e8d463ed73ca3a2 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 14 May 2010 16:59:40 +0000
Subject: [PATCH] fix msvc compile

---
 contrib/mpeg_encode/main.cpp | 1 +
 contrib/mpeg_encode/mpeg.cpp | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/mpeg_encode/main.cpp b/contrib/mpeg_encode/main.cpp
index 3bfe275192..efc3652d48 100644
--- a/contrib/mpeg_encode/main.cpp
+++ b/contrib/mpeg_encode/main.cpp
@@ -115,6 +115,7 @@
  * HEADER FILES *
  *==============*/
 
+#include <string.h>
 #include <assert.h>
 #include "all.h"
 #include "mtypes.h"
diff --git a/contrib/mpeg_encode/mpeg.cpp b/contrib/mpeg_encode/mpeg.cpp
index dc6b7a8a5a..7b8519645e 100644
--- a/contrib/mpeg_encode/mpeg.cpp
+++ b/contrib/mpeg_encode/mpeg.cpp
@@ -185,7 +185,7 @@ static int	    numI, numP, numB;
 /* important -- don't initialize anything here */
 /* must be re-initted anyway in GenMPEGStream */
 
-extern int  IOtime;
+extern time_t  IOtime;
 extern boolean	resizeFrame;
 extern int outputWidth, outputHeight;
 int	    gopSize = 100;  /* default */
-- 
GitLab