diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-01-17 21:39:07 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-01-17 21:39:07 +0000 |
commit | fae222fae263242b1b6573a6b27d19ce7921dcf8 (patch) | |
tree | 271b20260ce7a77404627a2146109f046d496eae /gcc/f/runtime/libU77/symlnk_.c | |
parent | 73a76cbeaff26f3dc963b1d5d738d8206a9d1643 (diff) | |
download | gcc-fae222fae263242b1b6573a6b27d19ce7921dcf8.tar.gz |
* libU77/configure.in (sys/param.h,sys/times.h): Check.
(times,alarm): Likewise.
* libU77/config.h.in (HAVE_SYS_PARAM_H, HAVE_SYS_TIMES_H,
HAVE_ALARM, HAVE_TIMES): New defs.
* libU77/alarm_.c: Conditionalize for target platform. Set errno
to ENOSYS if target libc doesn't have the function.
* libU77/dtime_.c: Likewise.
* libU77/etime_.c: Likewise.
* libU77/sys_clock_.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17398 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f/runtime/libU77/symlnk_.c')
-rw-r--r-- | gcc/f/runtime/libU77/symlnk_.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/f/runtime/libU77/symlnk_.c b/gcc/f/runtime/libU77/symlnk_.c index d15e4528758..4b0bf24541d 100644 --- a/gcc/f/runtime/libU77/symlnk_.c +++ b/gcc/f/runtime/libU77/symlnk_.c @@ -28,7 +28,9 @@ Boston, MA 02111-1307, USA. */ # include <unistd.h> #endif #include <errno.h> -#include <sys/param.h> +#if HAVE_SYS_PARAM_H +# include <sys/param.h> +#endif #include "f2c.h" #ifdef KR_headers |