diff -u --recursive findutils-4.1-orig/find/fstype.c findutils-4.1-hacked/find/fstype.c --- findutils-4.1-orig/find/fstype.c Thu Nov 3 16:33:48 1994 +++ findutils-4.1-hacked/find/fstype.c Thu Oct 5 23:12:34 2000 @@ -30,9 +30,12 @@ extern int errno; #endif +#ifndef strdup char *strdup (); +#endif +#ifndef strstr char *strstr (); - +#endif static char *filesystem_type_uncached P_((char *path, char *relpath, struct stat *statp)); static int xatoi P_((char *cp)); diff -u --recursive findutils-4.1-orig/find/parser.c findutils-4.1-hacked/find/parser.c --- findutils-4.1-orig/find/parser.c Wed Nov 2 20:59:19 1994 +++ findutils-4.1-hacked/find/parser.c Thu Oct 5 23:12:36 2000 @@ -52,7 +52,9 @@ #define lstat stat #endif +#ifndef strstr char *strstr (); +#endif int lstat (); int stat (); #ifndef atol /* for Linux */ diff -u --recursive findutils-4.1-orig/find/pred.c findutils-4.1-hacked/find/pred.c --- findutils-4.1-orig/find/pred.c Wed Nov 2 20:59:23 1994 +++ findutils-4.1-hacked/find/pred.c Thu Oct 5 23:21:09 2000 @@ -15,11 +15,14 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + #include #include #include #include +#define _GNU_SOURCE #include +#undef _GNU_SOURCE #include #include #include diff -u --recursive findutils-4.1-orig/lib/nextelem.c findutils-4.1-hacked/lib/nextelem.c --- findutils-4.1-orig/lib/nextelem.c Tue Sep 27 13:02:45 1994 +++ findutils-4.1-hacked/lib/nextelem.c Thu Oct 5 23:12:40 2000 @@ -32,7 +32,10 @@ #endif #endif +#ifndef strdup char *strdup (); +#endif + void free (); /* Return the next element of a colon-separated path. diff -u --recursive findutils-4.1-orig/xargs/xargs.c findutils-4.1-hacked/xargs/xargs.c --- findutils-4.1-orig/xargs/xargs.c Fri Oct 7 17:21:39 1994 +++ findutils-4.1-hacked/xargs/xargs.c Thu Oct 5 23:12:28 2000 @@ -60,8 +60,12 @@ #define memcpy(dest, source, count) (bcopy((source), (dest), (count))) #endif -char *strstr (); +#ifndef strdup char *strdup (); +#endif +#ifndef strstr +char *strstr (); +#endif #ifndef _POSIX_SOURCE #include