diff options
author | Matthew Gregan <[email protected]> | 2016-11-11 16:09:49 +1300 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2016-11-11 16:09:49 +1300 |
commit | b46ffc5d12b1b880ab2c34bc0f01a6c9c06e6590 (patch) | |
tree | 6ce407043a68f3db7f6743703c66a64863d20170 /test/test_sanity.cpp | |
parent | 9d4f30c82bc77284e13e31b1287c7b5b79baeb64 (diff) | |
download | cubeb-b46ffc5d12b1b880ab2c34bc0f01a6c9c06e6590.tar.gz cubeb-b46ffc5d12b1b880ab2c34bc0f01a6c9c06e6590.zip |
Always include "gtest/gtest.h" first.
This is primarily required to fix Gecko integration bustage on the OS X
10.7 builders, where defining _XOPEN_SOURCE before including <iostream>
causes errors with _asprintf_l in the C++ <locale> header.
Diffstat (limited to 'test/test_sanity.cpp')
-rw-r--r-- | test/test_sanity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_sanity.cpp b/test/test_sanity.cpp index 1f2feca..e039999 100644 --- a/test/test_sanity.cpp +++ b/test/test_sanity.cpp @@ -4,6 +4,7 @@ * This program is made available under an ISC-style license. See the * accompanying file LICENSE for details. */ +#include "gtest/gtest.h" #if !defined(_XOPEN_SOURCE) #define _XOPEN_SOURCE 600 #endif @@ -12,7 +13,6 @@ #include <string.h> #include <math.h> #include "common.h" -#include "gtest/gtest.h" #define STREAM_RATE 44100 #define STREAM_LATENCY 100 * STREAM_RATE / 1000 |