summaryrefslogtreecommitdiff
path: root/girepository/giobjectinfo.c
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2014-07-04 18:27:41 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2014-07-07 09:24:12 +0800
commit0ad96c5a4f3bd323e023978cc2f95caa91e24682 (patch)
treec232c2f9ff870f46dbd0e23ac84db9c8577356a7 /girepository/giobjectinfo.c
parent011b7c4496404d60a5b62bbe7de262e37509c5fb (diff)
downloadgobject-introspection-0ad96c5a4f3bd323e023978cc2f95caa91e24682.tar.gz
girepository: Include config.h First in All Sources
This includes config.h in all the C-sources of girepository so that we can get the correct export directive from config.h during compile time and therefore export the symbols as necessary, like what GLib and GTK+ is currently doing. https://bugzilla.gnome.org/show_bug.cgi?id=732669
Diffstat (limited to 'girepository/giobjectinfo.c')
-rw-r--r--girepository/giobjectinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/girepository/giobjectinfo.c b/girepository/giobjectinfo.c
index d92a8615..381f4651 100644
--- a/girepository/giobjectinfo.c
+++ b/girepository/giobjectinfo.c
@@ -20,6 +20,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include "config.h"
+
#include <glib.h>
#include <girepository.h>