diff options
Diffstat (limited to 'cpukit/libnetworking/kern/uipc_socket.c')
-rw-r--r-- | cpukit/libnetworking/kern/uipc_socket.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/libnetworking/kern/uipc_socket.c b/cpukit/libnetworking/kern/uipc_socket.c index b221a377ca..a5836531c6 100644 --- a/cpukit/libnetworking/kern/uipc_socket.c +++ b/cpukit/libnetworking/kern/uipc_socket.c @@ -45,6 +45,13 @@ #include <sys/signalvar.h> #include <sys/sysctl.h> #include <limits.h> +#ifdef __rtems__ +/* + * This socket option was removed 1997 from the upstream FreeBSD network stack. + * Turn this feature into essentially dead code. + */ +#define SO_PRIVSTATE 0x1009 /* get/deny privileged state */ +#endif /* __rtems__ */ static int somaxconn = SOMAXCONN; SYSCTL_INT(_kern, KIPC_SOMAXCONN, somaxconn, CTLFLAG_RW, &somaxconn, 0, ""); |