From: Ezra Peisach Date: Sat, 8 Sep 2001 12:25:35 +0000 (+0000) Subject: * telnetd.c: Move include of fake-addrinfo.c to after stdlib.h so X-Git-Tag: krb5-1.3-alpha1~1078 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=765a4b45a6199f0ce7dd35c76ca37054145fb182;p=krb5.git * telnetd.c: Move include of fake-addrinfo.c to after stdlib.h so that malloc prototype povided. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13740 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/telnet/telnetd/ChangeLog b/src/appl/telnet/telnetd/ChangeLog index 3fab75c40..9b44722c9 100644 --- a/src/appl/telnet/telnetd/ChangeLog +++ b/src/appl/telnet/telnetd/ChangeLog @@ -1,3 +1,8 @@ +Sat Sep 8 08:24:51 2001 Ezra Peisach + + * telnetd.c: Move include of fake-addrinfo.c to after stdlib.h so + that malloc prototype povided. + 2001-08-30 Ken Raeburn * configure.in: Check for ipv6 support. diff --git a/src/appl/telnet/telnetd/telnetd.c b/src/appl/telnet/telnetd/telnetd.c index c15c0df3d..4dd980404 100644 --- a/src/appl/telnet/telnetd/telnetd.c +++ b/src/appl/telnet/telnetd/telnetd.c @@ -42,9 +42,6 @@ static char copyright[] = #include "telnetd.h" #include "pathnames.h" -#define FAI_PREFIX telnetd -#include "fake-addrinfo.c" - extern int getent(char *, char *); extern int tgetent(char *, char *); @@ -80,6 +77,8 @@ struct socket_security ss; # endif /* SO_SEC_MULTI */ #endif /* _SC_CRAY_SECURE_SYS */ +#define FAI_PREFIX telnetd +#include "fake-addrinfo.c" #ifdef KRB5 #include "krb5.h"