* fake-addrinfo.h: Include errno.h earlier
authorTom Yu <tlyu@mit.edu>
Sun, 31 Oct 2004 18:43:40 +0000 (18:43 +0000)
committerTom Yu <tlyu@mit.edu>
Sun, 31 Oct 2004 18:43:40 +0000 (18:43 +0000)
ticket: 2754
version_fixed: 1.4

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@16851 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/fake-addrinfo.h

index f3e2ae9e3f7cee00cf3f0c9b9e8dd37782a232c8..c9837b3d452fad2d7f0a7325353db48b664e055b 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-29  Ken Raeburn  <raeburn@mit.edu>
+
+       * fake-addrinfo.h: Include errno.h earlier.
+
 2004-10-28  Ken Raeburn  <raeburn@mit.edu>
 
        * k5-thread.h (return_after_yield, k5_mutex_lock) [__GNUC__]: Add
index cc23a3f7d17056bbdafa16a154e0b077b1d62fdc..9ed8d406e5044063dadef91c3b9e90902638b369 100644 (file)
 #include "k5-thread.h"
 
 #include <stdio.h>             /* for sprintf */
+#include <errno.h>
 
 #ifdef S_SPLINT_S
 /*@-incondefs@*/
@@ -967,7 +968,6 @@ fake_getaddrinfo (const char *name, const char *serv,
 }
 
 #ifdef NEED_FAKE_GETNAMEINFO
-#include <errno.h>
 static inline int
 fake_getnameinfo (const struct sockaddr *sa, socklen_t len,
                  char *host, socklen_t hostlen,
@@ -1058,7 +1058,6 @@ fake_getnameinfo (const struct sockaddr *sa, socklen_t len,
 }
 #endif
 
-#include <errno.h>
 #if defined(HAVE_FAKE_GETADDRINFO) || defined(NEED_FAKE_GETNAMEINFO)
 
 static inline