summaryrefslogtreecommitdiff
path: root/girepository/ginvoke.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/ginvoke.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/ginvoke.c')
-rw-r--r--girepository/ginvoke.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/girepository/ginvoke.c b/girepository/ginvoke.c
index 6eba9fcc..bd5aa2cd 100644
--- a/girepository/ginvoke.c
+++ b/girepository/ginvoke.c
@@ -19,6 +19,8 @@
* Boston, MA 02111-1307, USA.
*/
+#include "config.h"
+
#include <stdlib.h>
#include <glib.h>
@@ -26,7 +28,6 @@
#include <girepository.h>
#include "girffi.h"
-#include "config.h"
/**
* value_to_ffi_type: