Package: gobject-introspection / 1.42.0-2.2

Dont_unconditionally_include_config.h_in_gimarshallingtests.c.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: intrigeri <intrigeri@debian.org>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=738989
Bug-Debian: https://bugs.debian.org/764272
Origin: vendor, https://bugzilla.gnome.org/attachment.cgi?id=289106
Subject: Don't unconditionally include config.h in gimashallingtests.c

--- 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"