[pygobject] include Python.h so that PY_VERSION_HEX gets defined



commit 2ca897273f52ae38f5e06e72c773a048e199eee5
Author: John (J5) Palmieri <johnp redhat com>
Date:   Thu Oct 28 13:49:15 2010 -0400

    include Python.h so that PY_VERSION_HEX gets defined

 gi/pygi-foreign-cairo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gi/pygi-foreign-cairo.c b/gi/pygi-foreign-cairo.c
index 095f6cb..63d12f5 100644
--- a/gi/pygi-foreign-cairo.c
+++ b/gi/pygi-foreign-cairo.c
@@ -22,6 +22,7 @@
  */
 
 #include <cairo.h>
+#include <Python.h>
 
 #if PY_VERSION_HEX < 0x03000000
 #include <pycairo.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]