summaryrefslogtreecommitdiff
path: root/girepository/gitypelib.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/gitypelib.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/gitypelib.c')
-rw-r--r--girepository/gitypelib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/girepository/gitypelib.c b/girepository/gitypelib.c
index 41b54fd8..09e74f13 100644
--- a/girepository/gitypelib.c
+++ b/girepository/gitypelib.c
@@ -20,12 +20,13 @@
* Boston, MA 02111-1307, USA.
*/
+#include "config.h"
+
#include <stdlib.h>
#include <string.h>
#include <glib.h>
-#include "config.h"
#include "gitypelib-internal.h"
typedef struct {