changeset 32236:b6523ae145d2

Don't include string.h. (h_errno): Declare conditional also on TRY_AGAIN.
author Dave Love <fx@gnu.org>
date Fri, 06 Oct 2000 22:51:10 +0000
parents 751db8b296e8
children 53b2b7ddbbb7
files src/sysdep.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Fri Oct 06 22:47:22 2000 +0000
+++ b/src/sysdep.c	Fri Oct 06 22:51:10 2000 +0000
@@ -19,7 +19,7 @@
 Boston, MA 02111-1307, USA.  */
 
 
-#include <config.h>
+#include "config.h"
 #include <signal.h>
 #include <setjmp.h>
 #ifdef HAVE_UNISTD_H
@@ -66,9 +66,11 @@
 #undef fwrite
 #endif
 
+#ifdef TRY_AGAIN
 #ifndef HAVE_H_ERRNO
 extern int h_errno;
 #endif
+#endif /* TRY_AGAIN */
 
 #include <stdio.h>
 #include <sys/types.h>
@@ -163,7 +165,6 @@
 
 #if defined (USG) || defined (DGUX)
 #include <sys/utsname.h>
-#include <string.h>
 #ifndef MEMORY_IN_STRING_H
 #include <memory.h>
 #endif