summaryrefslogtreecommitdiffstats
path: root/Objects/fileobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/fileobject.c')
-rw-r--r--Objects/fileobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 6456368..7c65b98 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -22,7 +22,7 @@
#define BUF(v) PyString_AS_STRING((PyStringObject *)v)
-#ifndef DONT_HAVE_ERRNO_H
+#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif