From: Jim Meyering Date: Fri, 29 Jan 1999 04:58:32 +0000 (+0000) Subject: Use TIME_WITH_SYS_TIME-based #if test rather than X-Git-Tag: TEXTUTILS-1_22h~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2f2ba51bc84b3bdf31fcf8c12c5c8cc322b4d08;p=thirdparty%2Fcoreutils.git Use TIME_WITH_SYS_TIME-based #if test rather than TM_IN_SYS_TIME based one (for shred). --- diff --git a/src/system.h b/src/system.h index 5015922286..4b56c15a3d 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 -#else # include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif #endif /* Since major is a function on SVR4, we can't use `ifndef major'. */