Include structmembers.h centrally from rpmsystem-py.h
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 1 Oct 2009 10:21:44 +0000 (13:21 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 1 Oct 2009 11:16:44 +0000 (14:16 +0300)
- pretty much everything might need this...

python/rpmmacro-py.c
python/rpmsystem-py.h
python/rpmtd-py.c

index 660bd00..dec8de0 100644 (file)
@@ -1,7 +1,5 @@
 #include "rpmsystem-py.h"
 
-#include <structmember.h>
-
 #include <rpm/rpmmacro.h>
 
 #include "rpmmacro-py.h"
index 86563a3..1544dd6 100644 (file)
@@ -5,7 +5,8 @@
 #include <sys/types.h>
 #endif
 
-#include "Python.h"
+#include <Python.h>
+#include <structmember.h>
 
 #include "../system.h"
 
index c2dbf76..51f8744 100644 (file)
@@ -3,7 +3,6 @@
  */
 
 #include "rpmsystem-py.h"
-#include <structmember.h>
 #include <rpm/rpmtd.h>
 #include <rpm/header.h>
 #include "rpmtd-py.h"