summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2003-01-14 09:07:16 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2003-01-14 09:07:16 +0000
commit3123b0712b0fd07fd507c7116b94ad28a7e01ab9 (patch)
tree90ccf397a15eea920584af31e76f7d50c8259335
parent8dea208c85296f234abc36ee967a9a9bc89fbf78 (diff)
downloadflac-3123b0712b0fd07fd507c7116b94ad28a7e01ab9.tar.gz
minor fix for MSVC
-rw-r--r--src/test_streams/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test_streams/main.c b/src/test_streams/main.c
index 28e1764d..82384adc 100644
--- a/src/test_streams/main.c
+++ b/src/test_streams/main.c
@@ -19,7 +19,9 @@
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
-#if !defined _MSC_VER && !defined __MINGW32__
+#if defined _MSC_VER || defined __MINGW32__
+#include <time.h>
+#else
#include <sys/time.h>
#endif
#include "FLAC/assert.h"