diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-09-10 07:38:50 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-11-06 21:18:54 +0100 |
commit | ed07250fef4e258d0d37d1c4e520db6d6c1e6fdb (patch) | |
tree | 4572472e40ba400473c1780f7da810f6b18ac9d1 | |
parent | 1093b1eb6f3e561fb80aafba65e3f1505ae80350 (diff) | |
download | tigervnc-ed07250fef4e258d0d37d1c4e520db6d6c1e6fdb.tar.gz tigervnc-ed07250fef4e258d0d37d1c4e520db6d6c1e6fdb.zip |
Include winsock2.h in Windows errno header
Make sure the required Windows defines are always available.
-rw-r--r-- | common/os/winerrno.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/os/winerrno.h b/common/os/winerrno.h index 052d4de2..a81fdc94 100644 --- a/common/os/winerrno.h +++ b/common/os/winerrno.h @@ -5,6 +5,8 @@ cat /usr/i686-pc-mingw32/sys-root/mingw/include/winerror.h \ | egrep -v 'EINTR|EBADF|EACCES|EFAULT|EINVAL|EMFILE|_QOS|PROVIDER|PROCTABLE' */ +#include <winsock2.h> + #undef EWOULDBLOCK #define EWOULDBLOCK WSAEWOULDBLOCK #undef EINPROGRESS |