From fae222fae263242b1b6573a6b27d19ce7921dcf8 Mon Sep 17 00:00:00 2001 From: law Date: Sat, 17 Jan 1998 21:39:07 +0000 Subject: * 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 --- gcc/f/runtime/libU77/symlnk_.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/f/runtime/libU77/symlnk_.c') 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 #endif #include -#include +#if HAVE_SYS_PARAM_H +# include +#endif #include "f2c.h" #ifdef KR_headers -- cgit v1.2.1