update Tue Jun 22 06:37:08 PDT 2010
[pkgsrc.git] / databases / mysql5-client / patches / patch-ah
1 $NetBSD: patch-ah,v 1.4 2007/03/11 18:42:28 adam Exp $
2
3 --- include/my_net.h.orig       2007-03-05 20:21:13.000000000 +0100
4 +++ include/my_net.h
5 @@ -70,6 +70,15 @@ C_MODE_START
6  
7  #endif
8  
9 +#if defined(__sgi) && !defined(SHUT_RDWR)
10 +
11 +/*
12 +  IRIX 5 does not define SHUT_RDWR
13 +*/
14 +
15 +#define SHUT_RDWR 2
16 +#endif
17 +
18  /*
19    On OSes which don't have the in_addr_t, we guess that using uint32 is the best
20    possible choice. We guess this from the fact that on HP-UX64bit & FreeBSD64bit