summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index ef5bced..6218397 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -108,7 +108,9 @@ static long dxp[256];
#ifdef WITH_THREAD
+#ifndef DONT_HAVE_ERRNO_H
#include <errno.h>
+#endif
#include "pythread.h"
extern int _PyThread_Started; /* Flag for Py_Exit */