From 4ae9d14de7195334bcd03ea00ca213da32cc81a5 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 3 Sep 2002 22:11:02 +0000 Subject: [PATCH] * foreachaddr.c: Include errno.h instead of declaring errno git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14824 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 2 ++ src/include/foreachaddr.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 7b7b6e75b..ef9ff2685 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -3,6 +3,8 @@ * fake-addrinfo.h (gaiptr, faiptr, gniptr): Delete duplicate declarations. + * foreachaddr.c: Include errno.h instead of declaring errno. + 2002-09-03 Ezra Peisach * configure.in: Use AH_TEMPLATE to put undefined definition of diff --git a/src/include/foreachaddr.c b/src/include/foreachaddr.c index 3c3adad52..101f8efca 100644 --- a/src/include/foreachaddr.c +++ b/src/include/foreachaddr.c @@ -108,7 +108,7 @@ foreach_localaddr (/*@null@*/ void *data, #define LINUX_IPV6_HACK #endif -extern int errno; +#include /* * Return all the protocol addresses of this host. -- 2.26.2