diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2013-07-13 21:21:43 -0500 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2013-07-15 20:21:23 -0500 |
commit | 6765b7405a1a44e6879f1058052e893819553e3e (patch) | |
tree | 33176c26b947effe18c73faabbf54b6d55039222 /system | |
parent | 9b97977a57784d0dd8b8f8295c6252615f9ad5ad (diff) |
Add SHUT_WR to sys/socket.h.
Diffstat (limited to 'system')
-rw-r--r-- | system/include/sys/socket.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/include/sys/socket.h b/system/include/sys/socket.h index 3168f85b..9650bb9a 100644 --- a/system/include/sys/socket.h +++ b/system/include/sys/socket.h @@ -34,7 +34,8 @@ extern "C" { #define SO_LINGER 130 #define SO_BSDCOMPAT 140 -#define SHUT_RD 1 +#define SHUT_RD 0 +#define SHUT_WR 1 #define SHUT_RDWR 2 typedef unsigned int sa_family_t; |