summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVictor Toso <me@victortoso.com>2016-11-08 17:09:53 +0100
committerSebastian Dröge <sebastian@centricular.com>2016-11-09 19:44:07 +0200
commitcb9309f2a706edd640dfec0f4d466bcdc471ae46 (patch)
tree0bf43819ad45446441e8ed91aacbb39ee60d3ee3 /tests
parentabe60a92c48af99527c4c7c249f63de30010618f (diff)
tests: Fix compile warning on mingw64
In file included from ../../libs/gst/net/gstntppacket.c:35:0, from netclock-replay.c:25: ../../config.h:546:0: error: "__MSVCRT_VERSION__" redefined [-Werror] #define __MSVCRT_VERSION__ 0x0601 In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:10:0, from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:9, from netclock-replay.c:21: /usr/x86_64-w64-mingw32/sys-root/mingw/include/_mingw.h:220:0: note: this is the location of the previous definition # define __MSVCRT_VERSION__ 0x0700 https://bugzilla.gnome.org/show_bug.cgi?id=774108
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/netclock-replay.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/misc/netclock-replay.c b/tests/misc/netclock-replay.c
index 531bbe738..54eeb31f5 100644
--- a/tests/misc/netclock-replay.c
+++ b/tests/misc/netclock-replay.c
@@ -18,6 +18,10 @@
* Boston, MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
/* We need the internal netclock estimation function to (re)run the code on