Mercurial > emacs
diff src/sysdep.c @ 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 | a9247e019ab7 |
| children | daf01616a3e7 |
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 () {
