summaryrefslogtreecommitdiff
path: root/giscanner/giscannermodule.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2009-12-31 15:26:33 +0100
committerJohan Dahlin <johan@gnome.org>2009-12-31 15:26:33 +0100
commit27813f4297808694a7cdecce506434ee9315d042 (patch)
treea71b57a7be299572540f9a0a02d7b760adcbac0c /giscanner/giscannermodule.c
parent9abe4c600e140063db23eab400ad084929c8b900 (diff)
downloadgobject-introspection-27813f4297808694a7cdecce506434ee9315d042.tar.gz
Include Python.h earlier
This avoids pyconfig.h:1028:1: warning: "_POSIX_C_SOURCE" redefined
Diffstat (limited to 'giscanner/giscannermodule.c')
-rw-r--r--giscanner/giscannermodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/giscannermodule.c b/giscanner/giscannermodule.c
index e8ad117a..0b24714a 100644
--- a/giscanner/giscannermodule.c
+++ b/giscanner/giscannermodule.c
@@ -22,9 +22,9 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <Python.h>
#include "sourcescanner.h"
#include "grealpath.h"
-#include <Python.h>
#ifdef _WIN32
#include <fcntl.h>