summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 8df7dbc..aed1b7b 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -35,7 +35,9 @@
#endif
#include <string.h>
+#ifndef DONT_HAVE_ERRNO_H
#include <errno.h>
+#endif
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>