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 28e1764..82384ad 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"