find(1): remove portability ifdefs

This code isn't designed to be particularly portable outside of FreeBSD.
To be more specific it doesn't make much sense to support compiling
find(1) on VMS.
This commit is contained in:
Eitan Adler 2018-07-01 19:44:26 +00:00
parent 2da0fcde21
commit 06668f7f65

View File

@ -23,24 +23,13 @@ __FBSDID("$FreeBSD$");
tricks are need, but defaults to using the gettimeofday system call.
Include <sys/time.h> if that will be used. */
#if defined(vms)
# include <types.h>
#else /* defined(vms) */
# include <sys/types.h>
# include <sys/time.h>
#endif /* !defined(vms) */
#if defined (__STDC__) || defined (USG)
#include <string.h>
#endif
/* Some old versions of bison generate parsers that use bcopy.
That loses on systems that don't provide the function, so we have
to redefine it here. */
#if !defined (HAVE_BCOPY) && defined (HAVE_MEMCPY) && !defined (bcopy)
#define bcopy(from, to, len) memcpy ((to), (from), (len))
#endif
#if defined (__STDC__)
#include <stdlib.h>
#endif