diff --git a/include/winsock.h b/include/winsock.h
index bf0ce0770e42d5247fa57071d33ed78df9b9a8fe..47d1aa40062171ff92b3e2554e480d9081ca8cb3 100644
--- a/include/winsock.h
+++ b/include/winsock.h
@@ -821,6 +821,18 @@ typedef struct WS(WSAData)
 #define WSASYSNOTREADY             (WSABASEERR+91)
 #define WSAVERNOTSUPPORTED         (WSABASEERR+92)
 #define WSANOTINITIALISED          (WSABASEERR+93)
+#define WSAEDISCON                 (WSABASEERR+101)
+#define WSAENOMORE                 (WSABASEERR+102)
+#define WSAECANCELLED              (WSABASEERR+103)
+#define WSAEINVALIDPROCTABLE       (WSABASEERR+104)
+#define WSAEINVALIDPROVIDER        (WSABASEERR+105)
+#define WSAEPROVIDERFAILEDINIT     (WSABASEERR+106)
+#define WSASYSCALLFAILURE          (WSABASEERR+107)
+#define WSASERVICE_NOT_FOUND       (WSABASEERR+108)
+#define WSATYPE_NOT_FOUND          (WSABASEERR+109)
+#define WSA_E_NO_MORE              (WSABASEERR+110)
+#define WSA_E_CANCELLED            (WSABASEERR+111)
+#define WSAEREFUSED                (WSABASEERR+112)
 
 /*
  * Error return codes from gethostbyname() and gethostbyaddr()