From 54400c12cfdd643e053fac4a8aa78ae894cf6846 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 16 Nov 1999 22:12:37 +0000 Subject: [PATCH] apparently IPPORT_USERRESERVED isnt defined on certain SGI OS versions --- src/include/os/sgi/osiSock.h | 4 ++++ src/libCom/osi/os/sgi/osdSock.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/include/os/sgi/osiSock.h b/src/include/os/sgi/osiSock.h index 431983210..815a58410 100644 --- a/src/include/os/sgi/osiSock.h +++ b/src/include/os/sgi/osiSock.h @@ -46,6 +46,10 @@ typedef int osiSockIoctl_t; #define FD_IN_FDSET(FD) ((FD)=0) +#ifndef IPPORT_USERRESERVED +#define IPPORT_USERRESERVED 5000 +#endif + #define SOCK_EWOULDBLOCK EWOULDBLOCK #define SOCK_ENOBUFS ENOBUFS #define SOCK_ECONNRESET ECONNRESET diff --git a/src/libCom/osi/os/sgi/osdSock.h b/src/libCom/osi/os/sgi/osdSock.h index 431983210..815a58410 100644 --- a/src/libCom/osi/os/sgi/osdSock.h +++ b/src/libCom/osi/os/sgi/osdSock.h @@ -46,6 +46,10 @@ typedef int osiSockIoctl_t; #define FD_IN_FDSET(FD) ((FD)=0) +#ifndef IPPORT_USERRESERVED +#define IPPORT_USERRESERVED 5000 +#endif + #define SOCK_EWOULDBLOCK EWOULDBLOCK #define SOCK_ENOBUFS ENOBUFS #define SOCK_ECONNRESET ECONNRESET