projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9abe4c6
)
Include Python.h earlier
author
Johan Dahlin
<johan@gnome.org>
Thu, 31 Dec 2009 14:26:33 +0000
(15:26 +0100)
committer
Johan Dahlin
<johan@gnome.org>
Thu, 31 Dec 2009 14:26:33 +0000
(15:26 +0100)
This avoids pyconfig.h:1028:1: warning: "_POSIX_C_SOURCE" redefined
giscanner/giscannermodule.c
patch
|
blob
|
history
diff --git
a/giscanner/giscannermodule.c
b/giscanner/giscannermodule.c
index e8ad117a46c1df2a961d5c810b334d799f19e9c7..0b24714a703fdaf7131c74639f29faaa0b4736a2 100644
(file)
--- 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>