SunOS 4 conditionalization.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 15 Jun 1993 19:00:55 +0000 (19:00 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Tue, 15 Jun 1993 19:00:55 +0000 (19:00 +0000)
v7/src/microcode/ux.h
v7/src/microcode/uxsock.c

index 88f1d673021d771cb924a934450945f24f1d73f0..9d8362609bc72c42a22dc1ca7259be140a96fc3a 100644 (file)
@@ -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"
index ff32a337a337c63ace044ed2e8f7edad6b2b17b9..5c9dc20109ce3d3e5b0724d11606fa4d1de32a41 100644 (file)
@@ -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 *));