+2006-01-19 Simon Josefsson <jas@extundo.com>
+
+ * socket_.h: Map SHUT_RD, SHUT_WR, SHUT_RDWR correctly.
+
2006-01-12 Simon Josefsson <jas@extundo.com>
* base64.c: Fix warning, reported by Bruno Haible
# include <ws2tcpip.h>
#endif
+/* For shutdown(). */
+#if !defined(SHUT_RD) && defined (SD_RECEIVE)
+# define SHUT_RD SD_RECEIVE
+#endif
+#if !defined(SHUT_WR) && defined (SD_SEND)
+# define SHUT_WR 1
+#endif
+#if !defined(SHUT_RDWR) && defined (SD_BOTH)
+# define SHUT_RDWR 2
+#endif
+
#endif /* _SYS_SOCKET_H */