gcc -I. -I/src/wget-1.11.4/src -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/etc/wget rc\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -Wall -c /src/wget-1.11.4/src/ftp.c /src/wget-1.11.4/src/ftp.c: In function `ftp_expected_bytes': /src/wget-1.11.4/src/ftp.c:98: warning: implicit declaration of function `strncasecmp' /src/wget-1.11.4/src/ftp.c: In function `ftp_retrieve_list': /src/wget-1.11.4/src/ftp.c:1487: warning: implicit declaration of function `readlink' /src/wget-1.11.4/src/ftp.c:1503: warning: implicit declaration of function `symlink' /src/wget-1.11.4/src/ftp.c: In function `ftp_retrieve_glob': /src/wget-1.11.4/src/ftp.c:1756: error: `strcasecmp' undeclared (first use in this function) /src/wget-1.11.4/src/ftp.c:1756: error: (Each undeclared identifier is reportedonly once /src/wget-1.11.4/src/ftp.c:1756: error: for each function it appears in.)
There were doubts raised as to if this is sufficient. It is sufficient. C:\src\wget-1.11.4\src>diff -u ftp.c.orig ftp.c --- ftp.c.orig 2009-06-20 04:45:48.218750000 -0700 +++ ftp.c 2009-06-20 04:47:26.484375000 -0700 @@ -28,6 +28,10 @@ shall include the source code for the parts of OpenSSL used as well as that of the covered work. */ +#if defined(__INTERIX) && !defined(_ALL_SOURCE) +#define _ALL_SOURCE +#endif + #include #include Thanks, - Jay
