From: Ken Raeburn Date: Tue, 25 Jun 2002 23:26:35 +0000 (+0000) Subject: * socket-utils.h (ss2sin6): Enable compilation of inline function version X-Git-Tag: krb5-1.3-alpha1~638 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b19ecf1685a79dd762de0e17508af0a5830ecff;p=krb5.git * socket-utils.h (ss2sin6): Enable compilation of inline function version git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14581 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 507848484..e327680a7 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,5 +1,8 @@ 2002-06-25 Ken Raeburn + * socket-utils.h (ss2sin6): Enable compilation of inline function + version. + * configure.in: Check for seteuid, setresuid, setreuid, setegid, setresgid and setregid. * k5-util.h: Include sys/types.h, unistd.h, and stdlib.h if diff --git a/src/include/socket-utils.h b/src/include/socket-utils.h index b71545950..9ee94d9cb 100644 --- a/src/include/socket-utils.h +++ b/src/include/socket-utils.h @@ -80,7 +80,7 @@ static __inline__ struct sockaddr_in *sa2sin (struct sockaddr *sa) { return (struct sockaddr_in *) sa; } -#ifdef KRB5_USE_INET6xxNotUsed +#ifdef KRB5_USE_INET6 static __inline__ struct sockaddr_in6 *sa2sin6 (struct sockaddr *sa) { return (struct sockaddr_in6 *) sa;