diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-10-10 11:36:23 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-10-10 11:36:23 -0400 |
commit | 578eebd54bd9f2b1677922680701c454f489c895 (patch) | |
tree | f453c92ac1c1d687c3d8bf1350d2197e5d6a88a4 /tests/scanner/regress.c | |
parent | 1d8d206f48145623cd79a6d6d00bfeb12f73c0da (diff) | |
download | gobject-introspection-578eebd54bd9f2b1677922680701c454f489c895.tar.gz |
Don't unconditionally include config.h in regress.c
This is an installed file, so we can't assume that config.h
will be around.
https://bugzilla.gnome.org/show_bug.cgi?id=737275
Diffstat (limited to 'tests/scanner/regress.c')
-rw-r--r-- | tests/scanner/regress.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c index 3d3cfdde..8a0652fc 100644 --- a/tests/scanner/regress.c +++ b/tests/scanner/regress.c @@ -1,5 +1,8 @@ /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* This file gets installed, so we can't assume config.h is available */ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include <string.h> #include <stdlib.h> |