[gobject-introspection] gimarshallingtests: Don't unconditionally include config.h
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] gimarshallingtests: Don't unconditionally include config.h
- Date: Fri, 13 Feb 2015 21:20:48 +0000 (UTC)
commit 1c238c020f790f858a0b2fad6a1305d09198d4bf
Author: intrigeri <intrigeri debian org>
Date: Fri Feb 13 16:20:14 2015 -0500
gimarshallingtests: Don't unconditionally include config.h
https://bugzilla.gnome.org/show_bug.cgi?id=738989
tests/gimarshallingtests.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index 59b5ba9..c8f9774 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -2,7 +2,10 @@
*vim: tabstop=4 shiftwidth=4 expandtab
*/
+/* This file gets installed, so we can't assume config.h is available */
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include "gimarshallingtests.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]