From 9ee9af7aa2044c456e493eddfe082bba4206f976 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 30 Aug 1999 16:19:57 +0000 Subject: [PATCH] Include if available. Declare errno only if it is not a macro. --- src/sysdep.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/sysdep.c b/src/sysdep.c index af84c34a0b9..8c0e49231a4 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -21,11 +21,11 @@ Boston, MA 02111-1307, USA. */ #include #include -#ifdef HAVE_STDLIB_H -#include -#endif #include +#ifdef STDC_HEADERS +#include +#endif #include "lisp.h" #include "blockinput.h" #undef NULL @@ -101,7 +101,9 @@ extern unsigned start __asm__ ("start"); #endif #endif +#ifndef errno extern int errno; +#endif #ifdef VMS #include -- 2.39.5