From: Andrew M. Kuchling Date: Mon, 22 Feb 2010 23:10:52 +0000 (+0000) Subject: #7706: DONT_HAVE_ERRNO_H is no longer defined by configure (after rev.46819). X-Git-Tag: v2.7a4~143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=00b6a5c03d46ac328f0ae77341276decb9f2b3a8;p=python #7706: DONT_HAVE_ERRNO_H is no longer defined by configure (after rev.46819). --- diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 6456368bf2..7c65b98f65 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 #endif