summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/rpmmacro-py.c2
-rw-r--r--python/rpmsystem-py.h3
-rw-r--r--python/rpmtd-py.c1
3 files changed, 2 insertions, 4 deletions
diff --git a/python/rpmmacro-py.c b/python/rpmmacro-py.c
index 660bd00e4..dec8de09b 100644
--- a/python/rpmmacro-py.c
+++ b/python/rpmmacro-py.c
@@ -1,7 +1,5 @@
#include "rpmsystem-py.h"
-#include <structmember.h>
-
#include <rpm/rpmmacro.h>
#include "rpmmacro-py.h"
diff --git a/python/rpmsystem-py.h b/python/rpmsystem-py.h
index 86563a346..1544dd623 100644
--- a/python/rpmsystem-py.h
+++ b/python/rpmsystem-py.h
@@ -5,7 +5,8 @@
#include <sys/types.h>
#endif
-#include "Python.h"
+#include <Python.h>
+#include <structmember.h>
#include "../system.h"
diff --git a/python/rpmtd-py.c b/python/rpmtd-py.c
index c2dbf7683..51f874491 100644
--- a/python/rpmtd-py.c
+++ b/python/rpmtd-py.c
@@ -3,7 +3,6 @@
*/
#include "rpmsystem-py.h"
-#include <structmember.h>
#include <rpm/rpmtd.h>
#include <rpm/header.h>
#include "rpmtd-py.h"