From: Andreas Schwab Date: Mon, 30 Aug 1999 16:19:57 +0000 (+0000) Subject: Include if available. Declare errno only if it is not a macro. X-Git-Tag: emacs-pretest-21.0.90~6988 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9ee9af7aa2044c456e493eddfe082bba4206f976;p=emacs.git Include if available. Declare errno only if it is not a macro. --- 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