aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2000-11-21 23:56:56 +0000
committerKenichi Handa2000-11-21 23:56:56 +0000
commit8581cd642416389b0b1dc52b859b3d17b8adcb25 (patch)
tree2d282f99e360ea8a176929da1965d00cdf478b80 /src
parente9655d813a4d21acad73995a093f5f9e25a49e21 (diff)
downloademacs-8581cd642416389b0b1dc52b859b3d17b8adcb25.tar.gz
emacs-8581cd642416389b0b1dc52b859b3d17b8adcb25.zip
Move the code for declaring h_errno after #include <netdb.h>.
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index 2a457313a1c..65cb02156b0 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -61,12 +61,6 @@ static int delete_exited_processes;
61#undef fwrite 61#undef fwrite
62#endif 62#endif
63 63
64#ifdef TRY_AGAIN
65#ifndef HAVE_H_ERRNO
66extern int h_errno;
67#endif
68#endif /* TRY_AGAIN */
69
70#include <stdio.h> 64#include <stdio.h>
71#include <sys/types.h> 65#include <sys/types.h>
72#include <sys/stat.h> 66#include <sys/stat.h>
@@ -2283,6 +2277,12 @@ extern Lisp_Object Vsystem_name;
2283#endif /* not VMS */ 2277#endif /* not VMS */
2284#endif /* not BSD4_1 */ 2278#endif /* not BSD4_1 */
2285 2279
2280#ifdef TRY_AGAIN
2281#ifndef HAVE_H_ERRNO
2282extern int h_errno;
2283#endif
2284#endif /* TRY_AGAIN */
2285
2286void 2286void
2287init_system_name () 2287init_system_name ()
2288{ 2288{