[glib/wip/3v1n0/utimensat2: 3/3] tests/file: Include config.h so tests checking HAVE_* definitions are ran
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/3v1n0/utimensat2: 3/3] tests/file: Include config.h so tests checking HAVE_* definitions are ran
- Date: Tue, 11 Oct 2022 12:46:32 +0000 (UTC)
commit 60587d5965ee7e303b4bed773689fb488e0afa29
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Tue Oct 11 14:35:51 2022 +0200
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
gio/tests/file.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gio/tests/file.c b/gio/tests/file.c
index 9a15f9726e..9d98ff2057 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]