shithub: openh264

Download patch

ref: c3ddd926ba26a88fbd82ddbd7fccd0f113e4c623
parent: 44a49b1fef3d2f50f313e1118eb193934c3bf621
author: Martin Storsjö <[email protected]>
date: Mon Mar 10 07:38:48 EDT 2014

Include time.h in the MemoryAlloc test

This is required to get the time() function. This fixes building
on older MSVC versions.

--- a/test/EncUT_MemoryAlloc.cpp
+++ b/test/EncUT_MemoryAlloc.cpp
@@ -1,5 +1,6 @@
 #include "../gtest/include/gtest/gtest.h"
 #include <string.h>		// use memset/memcmp
+#include <time.h>
 #include "../codec/encoder/core/inc/memory_align.h"
 
 using namespace WelsSVCEnc;