* telnetd.c: Move include of fake-addrinfo.c to after stdlib.h so
authorEzra Peisach <epeisach@mit.edu>
Sat, 8 Sep 2001 12:25:35 +0000 (12:25 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sat, 8 Sep 2001 12:25:35 +0000 (12:25 +0000)
        that malloc prototype povided.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13740 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/telnet/telnetd/ChangeLog
src/appl/telnet/telnetd/telnetd.c

index 3fab75c403c8ad2e283d1cfdb5f6bf8f1d577769..9b44722c941534bf7b225b38d1c6b93706be241f 100644 (file)
@@ -1,3 +1,8 @@
+Sat Sep  8 08:24:51 2001  Ezra Peisach  <epeisach@mit.edu>
+
+       * telnetd.c: Move include of fake-addrinfo.c to after stdlib.h so
+       that malloc prototype povided.
+
 2001-08-30  Ken Raeburn  <raeburn@mit.edu>
 
        * configure.in: Check for ipv6 support.
index c15c0df3d988e47fdea56457f8ee4a546b5ddcc6..4dd980404b03b32e168536fa5f7befb09431015a 100644 (file)
@@ -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"