summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2022-10-11 14:35:51 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2022-10-11 14:37:12 +0200
commit60587d5965ee7e303b4bed773689fb488e0afa29 (patch)
tree03f4a88d0508bcc1f43bea01c2c7f08f35598715
parentb1d4b4bb3bd2d19a885675a09be834a93c6a95d5 (diff)
downloadglib-60587d5965ee7e303b4bed773689fb488e0afa29.tar.gz
tests/file: Include config.h so tests checking HAVE_* definitions are ran
We have tests depending on HAVE_UTIMES and HAVE_UTIMENSAT that were currently not compiled because these were always undefined
-rw-r--r--gio/tests/file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/tests/file.c b/gio/tests/file.c
index 9a15f9726..9d98ff205 100644
--- a/gio/tests/file.c
+++ b/gio/tests/file.c
@@ -1,3 +1,5 @@
+#include "config.h"
+
#include <locale.h>
#include <string.h>
#include <stdio.h>