aboutsummaryrefslogtreecommitdiffstats
path: root/sockets.h
diff options
context:
space:
mode:
Diffstat (limited to 'sockets.h')
-rw-r--r--sockets.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sockets.h b/sockets.h
index 12153e5..2c250cc 100644
--- a/sockets.h
+++ b/sockets.h
@@ -35,8 +35,11 @@
# ifndef EINTR
# define EINTR 10004
# endif
+# ifndef EAGAIN
+# define EAGAIN 10035
+# endif
# ifndef EWOULDBLOCK
-# define EWOULDBLOCK 10035
+# define EWOULDBLOCK EAGAIN
# endif
# ifndef EINPROGRESS
# define EINPROGRESS 10036