# HG changeset patch # User gthomas # Date 1024610755 0 # Node ID e3ee4b61fbea23b935c2b4115e3e3c5ae0253a44 # Parent ae8511176102bba5b357eadd61eaaf0d5d82f1fa Clean up - better building with newest tools. diff --git a/packages/net/bsd_tcpip/current/ChangeLog b/packages/net/bsd_tcpip/current/ChangeLog --- a/packages/net/bsd_tcpip/current/ChangeLog +++ b/packages/net/bsd_tcpip/current/ChangeLog @@ -1,3 +1,7 @@ +2002-06-20 Gary Thomas + + * include/sys/param.h (sprintf): Map to diag_sprintf(). + 2002-06-14 Gary Thomas * src/ecos/support.c: diff --git a/packages/net/bsd_tcpip/current/include/sys/param.h b/packages/net/bsd_tcpip/current/include/sys/param.h --- a/packages/net/bsd_tcpip/current/include/sys/param.h +++ b/packages/net/bsd_tcpip/current/include/sys/param.h @@ -936,6 +936,7 @@ void zfreei(vm_zone_t z, void *item // Function mapping #define printf diag_printf +#define sprintf diag_sprintf #define snprintf diag_snprintf // Missing standard functions diff --git a/packages/net/common/current/ChangeLog b/packages/net/common/current/ChangeLog --- a/packages/net/common/current/ChangeLog +++ b/packages/net/common/current/ChangeLog @@ -1,3 +1,7 @@ +2002-06-20 Gary Thomas + + * src/inet_ntop.c: Fix build error when used with newer compilers. + 2002-06-05 Gary Thomas * src/dhcp_prot.c (_dhcp_copy): New function used to better handle diff --git a/packages/net/common/current/src/inet_ntop.c b/packages/net/common/current/src/inet_ntop.c --- a/packages/net/common/current/src/inet_ntop.c +++ b/packages/net/common/current/src/inet_ntop.c @@ -45,7 +45,9 @@ #include #include #include +#ifndef CYGPKG_NET_FREEBSD_STACK #include +#endif #ifndef IN6ADDRSZ #define IN6ADDRSZ 16 /* IPv6 T_AAAA */