# HG changeset patch # User asl # Date 1033909673 0 # Node ID ff7641b16d2a63920c946c2b0b7cb8b5891f388a # Parent 2808fe605ef04d9a1e5378001614d3263ba09473 * tests/multi_lo_select.c: Need the io_fileio.h header file * tests/tcp_echo.c: (max): definition clashes with the one in the header file lib/libkern/libkern.h 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,9 @@ +2002-10-06 Andrew Lunn + + * tests/multi_lo_select.c: Need the io_fileio.h header file + * tests/tcp_echo.c: (max): definition clashes with the one in + the header file lib/libkern/libkern.h + 2002-08-16 Gary Thomas (on behalf of) 2002-08-16 Louis Hamilton diff --git a/packages/net/common/current/tests/multi_lo_select.c b/packages/net/common/current/tests/multi_lo_select.c --- a/packages/net/common/current/tests/multi_lo_select.c +++ b/packages/net/common/current/tests/multi_lo_select.c @@ -87,6 +87,7 @@ #define NLISTENERS (CYGPKG_IO_NFILE/3) #endif #else +#include #if CYGNUM_FILEIO_NFD > 30 #define NLISTENERS 10 #else diff --git a/packages/net/common/current/tests/tcp_echo.c b/packages/net/common/current/tests/tcp_echo.c --- a/packages/net/common/current/tests/tcp_echo.c +++ b/packages/net/common/current/tests/tcp_echo.c @@ -67,8 +67,8 @@ #include -static __inline__ int -max(int m, int n) +static __inline__ unsigned int +max(unsigned int m, unsigned int n) { return m > n ? m : n; }