From f533d79ff63166ca034cf0d8b34583b9eceecbb0 Mon Sep 17 00:00:00 2001 From: "Guillermo J. Rozas" Date: Tue, 15 Jun 1993 19:00:55 +0000 Subject: [PATCH] SunOS 4 conditionalization. --- v7/src/microcode/ux.h | 4 +++- v7/src/microcode/uxsock.c | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/v7/src/microcode/ux.h b/v7/src/microcode/ux.h index 88f1d6730..9d8362609 100644 --- a/v7/src/microcode/ux.h +++ b/v7/src/microcode/ux.h @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: ux.h,v 1.45 1993/06/08 04:08:26 gjr Exp $ +$Id: ux.h,v 1.46 1993/06/15 19:00:20 gjr Exp $ Copyright (c) 1988-1993 Massachusetts Institute of Technology @@ -69,7 +69,9 @@ extern int errno; */ extern int EXFUN (ioctl, (int, unsigned long, ...)); #endif +#ifndef _SUNOS4 extern int EXFUN (open, (const char *, int, ...)); +#endif extern int EXFUN (kill, (pid_t, int)); #include "intext.h" diff --git a/v7/src/microcode/uxsock.c b/v7/src/microcode/uxsock.c index ff32a337a..5c9dc2010 100644 --- a/v7/src/microcode/uxsock.c +++ b/v7/src/microcode/uxsock.c @@ -1,8 +1,8 @@ /* -*-C-*- -$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/microcode/uxsock.c,v 1.10 1992/06/05 20:06:19 jinx Exp $ +$Id: uxsock.c,v 1.11 1993/06/15 19:00:55 gjr Exp $ -Copyright (c) 1990-1992 Massachusetts Institute of Technology +Copyright (c) 1990-1993 Massachusetts Institute of Technology This material was developed by the Scheme project at the Massachusetts Institute of Technology, Department of Electrical Engineering and @@ -46,6 +46,7 @@ MIT in each case. */ #include "uxsock.h" #include "uxio.h" #include "prims.h" +#include "limits.h" extern struct servent * EXFUN (getservbyname, (CONST char *, CONST char *)); extern struct hostent * EXFUN (gethostbyname, (CONST char *)); -- 2.25.1