$NetBSD: patch-ah,v 1.3 2006/10/28 07:45:51 schwarz Exp $

--- include/my_net.h.orig	2006-10-23 21:21:16.000000000 +0200
+++ include/my_net.h	2006-10-23 21:24:11.000000000 +0200
@@ -71,6 +71,15 @@
 
 #endif
 
+#if defined(__sgi) && !defined(SHUT_RDWR)
+
+/*
+  IRIX 5 does not define SHUT_RDWR
+*/
+
+#define SHUT_RDWR 2
+#endif
+
 /*
   On OSes which don't have the in_addr_t, we guess that using uint32 is the best
   possible choice. We guess this from the fact that on HP-UX64bit & FreeBSD64bit
