From 789cf8081569b079ac3ed977642a6c88c741462c Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 6 Oct 2000 22:51:10 +0000 Subject: [PATCH] Don't include string.h. (h_errno): Declare conditional also on TRY_AGAIN. --- src/sysdep.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/sysdep.c b/src/sysdep.c index a9b426eddb..d53b7d93db 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -19,7 +19,7 @@ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include +#include "config.h" #include #include #ifdef HAVE_UNISTD_H @@ -66,9 +66,11 @@ Lisp_Object Vx_bitmap_file_path; #undef fwrite #endif +#ifdef TRY_AGAIN #ifndef HAVE_H_ERRNO extern int h_errno; #endif +#endif /* TRY_AGAIN */ #include #include @@ -163,7 +165,6 @@ extern int errno; #if defined (USG) || defined (DGUX) #include -#include #ifndef MEMORY_IN_STRING_H #include #endif -- 2.20.1