From aa4496943f72e82bd5fd4f3693d0e9b8d4485ba3 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Wed, 15 Jul 2020 18:59:24 -0700 Subject: [PATCH] Include header for time() for all appropriate systems modified: src/unixfork.c --- src/unixfork.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/unixfork.c b/src/unixfork.c index acd2e8f..da2606e 100644 --- a/src/unixfork.c +++ b/src/unixfork.c @@ -66,9 +66,10 @@ typedef int clockid_t; #include #endif /* HPUX */ -#if defined(SYSVONLY) || defined(OS5) +#if defined(SYSVONLY) || defined(OS5) || defined(FREEBSD) || defined(MACOSX) #include #include +#include #endif /* SYSVONLY */ #include @@ -301,8 +302,6 @@ of the packet received except: */ -// long time(long); /* XXX where does time come from? */ - int fork_Unix() { int LispToUnix[2], /* Incoming pipe from LISP */ UnixToLisp[2], /* Outgoing pipe to LISP */