aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorDave Love <[email protected]>2000-10-06 22:51:10 +0000
committerDave Love <[email protected]>2000-10-06 22:51:10 +0000
commit789cf8081569b079ac3ed977642a6c88c741462c (patch)
tree5458ee051bb513f4f9a99e48c9cb089312b4a823 /src/sysdep.c
parent0c59a1b7f5e2869956f9d2d2fe490fc638bd4dfb (diff)
Don't include string.h.
(h_errno): Declare conditional also on TRY_AGAIN.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c5
1 files 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 <config.h>
+#include "config.h"
#include <signal.h>
#include <setjmp.h>
#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 <stdio.h>
#include <sys/types.h>
@@ -163,7 +165,6 @@ extern int errno;
#if defined (USG) || defined (DGUX)
#include <sys/utsname.h>
-#include <string.h>
#ifndef MEMORY_IN_STRING_H
#include <memory.h>
#endif