From 1ee65e5c81961ba4841aa809ce8960f1b680892a Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 30 Aug 1999 15:07:30 +0000 Subject: [PATCH] Include if available. Don't declare errno if it's a macro. --- lib-src/emacsserver.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib-src/emacsserver.c b/lib-src/emacsserver.c index e58cf231933..541e57dcca0 100644 --- a/lib-src/emacsserver.c +++ b/lib-src/emacsserver.c @@ -65,7 +65,13 @@ void fatal_error (); #include #endif +#ifdef STDC_HEADERS +#include +#endif + +#ifndef errno extern int errno; +#endif /* Copied from src/process.c */ #ifdef FD_SET -- 2.39.5