aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/libshiboken/sbkpython.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/libshiboken/sbkpython.h')
-rw-r--r--sources/shiboken2/libshiboken/sbkpython.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/sources/shiboken2/libshiboken/sbkpython.h b/sources/shiboken2/libshiboken/sbkpython.h
index 6d90f408..5fe364a2 100644
--- a/sources/shiboken2/libshiboken/sbkpython.h
+++ b/sources/shiboken2/libshiboken/sbkpython.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2018 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt for Python.
@@ -40,8 +40,15 @@
#ifndef SBKPYTHON_H
#define SBKPYTHON_H
-#include "Python.h"
+#include "sbkversion.h"
+
+#include <Python.h>
+#include <structmember.h>
+// Now we have the usual variables from Python.h .
#include "python25compat.h"
+#include "shibokenmacros.h"
+#include "pep384impl.h"
+#include "typespec.h"
#if PY_MAJOR_VERSION >= 3
#define IS_PY3K