changeset 33718:79a269bdf047

Move the code for declaring h_errno after #include <netdb.h>.
author Kenichi Handa <handa@m17n.org>
date Tue, 21 Nov 2000 23:56:56 +0000
parents 79c21c755381
children 9b5f5e6d38d2
files src/sysdep.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Tue Nov 21 23:56:29 2000 +0000
+++ b/src/sysdep.c	Tue Nov 21 23:56:56 2000 +0000
@@ -61,12 +61,6 @@
 #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>
 #include <sys/stat.h>
@@ -2283,6 +2277,12 @@
 #endif /* not VMS */
 #endif /* not BSD4_1 */
 
+#ifdef TRY_AGAIN
+#ifndef HAVE_H_ERRNO
+extern int h_errno;
+#endif
+#endif /* TRY_AGAIN */
+
 void
 init_system_name ()
 {