summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-05-15 18:24:06 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-05-15 18:24:06 (GMT)
commit1e1fcef756dbec60c9062462b46777ffc2a0594e (patch)
tree295afbac597dab65c10fce679260c9347128031f /Include/Python.h
parentb07fa39edfdae1f7777bb39eceb133f67e8eee62 (diff)
downloadcpython-1e1fcef756dbec60c9062462b46777ffc2a0594e.zip
cpython-1e1fcef756dbec60c9062462b46777ffc2a0594e.tar.gz
cpython-1e1fcef756dbec60c9062462b46777ffc2a0594e.tar.bz2
Back out #555929
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 593c8f6..e3addc7 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -22,13 +22,12 @@
#include "patchlevel.h"
#include "pyconfig.h"
-#include "pyport.h"
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
-/* pyconfig.h or pyport.h may or may not define DL_IMPORT */
+/* pyconfig.h may or may not define DL_IMPORT */
#ifndef DL_IMPORT /* declarations for DLL import/export */
#define DL_IMPORT(RTYPE) RTYPE
#endif
@@ -60,6 +59,8 @@
*/
#include <assert.h>
+#include "pyport.h"
+
/* Debug-mode build with pymalloc implies PYMALLOC_DEBUG.
* PYMALLOC_DEBUG is in error if pymalloc is not in use.
*/