diff options
author | Jim Meyering <jim@meyering.net> | 1999-01-29 04:58:32 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-01-29 04:58:32 +0000 |
commit | a2f2ba51bc84b3bdf31fcf8c12c5c8cc322b4d08 (patch) | |
tree | 099b0cc3fb04d2d5368f20e29b8e67f21366f7b2 /src | |
parent | 8bf7657cd462fdae396371cab18eaafc88e09a14 (diff) | |
download | coreutils-a2f2ba51bc84b3bdf31fcf8c12c5c8cc322b4d08.tar.xz |
Use TIME_WITH_SYS_TIME-based #if test rather than
TM_IN_SYS_TIME based one (for shred).
Diffstat (limited to 'src')
-rw-r--r-- | src/system.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/system.h b/src/system.h index 501592228..4b56c15a3 100644 --- a/src/system.h +++ b/src/system.h @@ -1,5 +1,5 @@ /* system-dependent definitions for fileutils, textutils, and sh-utils packages. - Copyright (C) 89, 91, 92, 93, 94, 96, 97, 1998 Free Software Foundation, Inc. + Copyright (C) 1989, 1991-1999 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -174,10 +174,15 @@ #include "pathmax.h" -#ifdef TM_IN_SYS_TIME +#if TIME_WITH_SYS_TIME # include <sys/time.h> -#else # include <time.h> +#else +# if HAVE_SYS_TIME_H +# include <sys/time.h> +# else +# include <time.h> +# endif #endif /* Since major is a function on SVR4, we can't use `ifndef major'. */ |