minor fix for MSVC
authorJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 14 Jan 2003 09:07:16 +0000 (09:07 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 14 Jan 2003 09:07:16 +0000 (09:07 +0000)
src/test_streams/main.c

index 28e1764dc0389d9a543d7d49d19997180bbf9cae..82384adce68b1a9bac845cbc6d7b0c39f2f862b0 100644 (file)
@@ -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"