[gobject-introspection] Include Python.h earlier
- From: Johan Dahlin <johan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Include Python.h earlier
- Date: Thu, 31 Dec 2009 14:27:03 +0000 (UTC)
commit 27813f4297808694a7cdecce506434ee9315d042
Author: Johan Dahlin <johan gnome org>
Date: Thu Dec 31 15:26:33 2009 +0100
Include Python.h earlier
This avoids pyconfig.h:1028:1: warning: "_POSIX_C_SOURCE" redefined
giscanner/giscannermodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/giscannermodule.c b/giscanner/giscannermodule.c
index e8ad117..0b24714 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]