summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/uri.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/uri.c b/tests/uri.c
index ea8b794..5bfed2d 100644
--- a/tests/uri.c
+++ b/tests/uri.c
@@ -19,6 +19,11 @@
#include <spice-client.h>
#include "spice-uri-priv.h"
+/* GLIB_CHECK_VERSION(2, 40, 0) */
+#ifndef g_assert_nonnull
+#define g_assert_nonnull g_assert
+#endif
+
struct test_case {
gchar *uri;
gchar *scheme;