summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/fileobject.c5
-rw-r--r--Objects/floatobject.c4
2 files changed, 1 insertions, 8 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 15263d3..99cdba2 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -30,10 +30,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define BUF(v) GETSTRINGVALUE((stringobject *)v)
-#include "errno.h"
-#ifndef errno
-extern int errno;
-#endif
+#include <errno.h>
typedef struct {
OB_HEAD
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index 25ae6d8..9994523 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -31,10 +31,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "modsupport.h"
#include <errno.h>
-#ifndef errno
-extern int errno;
-#endif
-
#include <ctype.h>
#include <math.h>