summaryrefslogtreecommitdiff
path: root/tests/test_opus_decode.c
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2012-07-14 11:00:24 -0400
committerGregory Maxwell <greg@xiph.org>2012-07-14 11:00:24 -0400
commitce878836864b1db3f2bf01575a36a2b230668bd8 (patch)
tree5e2bf7b15b5f15baef0297cc2b11582972aee162 /tests/test_opus_decode.c
parent619aa8b26812c4dc7b344441ee9f315b2019f15c (diff)
downloadopus-ce878836864b1db3f2bf01575a36a2b230668bd8.tar.gz
Fix headers by mingw broken by recent win32 changes.
Diffstat (limited to 'tests/test_opus_decode.c')
-rw-r--r--tests/test_opus_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_opus_decode.c b/tests/test_opus_decode.c
index 74508a0e..ea970927 100644
--- a/tests/test_opus_decode.c
+++ b/tests/test_opus_decode.c
@@ -36,7 +36,7 @@
#include <math.h>
#include <string.h>
#include <time.h>
-#ifndef _WIN32
+#if (!defined WIN32 && !defined _WIN32) || defined(__MINGW32__)
#include <unistd.h>
#endif
#include "opus.h"