1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-16 00:04:59 +00:00

Include header for time() for all appropriate systems

modified:   src/unixfork.c
This commit is contained in:
Nick Briggs 2020-07-15 18:59:24 -07:00
parent 3bf5c3b720
commit aa4496943f

View File

@ -66,9 +66,10 @@ typedef int clockid_t;
#include <unistd.h>
#endif /* HPUX */
#if defined(SYSVONLY) || defined(OS5)
#if defined(SYSVONLY) || defined(OS5) || defined(FREEBSD) || defined(MACOSX)
#include <fcntl.h>
#include <unistd.h>
#include <time.h>
#endif /* SYSVONLY */
#include <stdio.h>
@ -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 */