diff options
author | Daniel Cohen Gindi <danielgindi@gmail.com> | 2014-09-01 01:28:12 +0300 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2014-09-02 16:43:16 +0200 |
commit | 8175f428dc003b6a4564deee7ae78bc3b3b62ebf (patch) | |
tree | ddc4d4257e3289fe69d29ab992099b8ebfd00d63 | |
parent | 30592827518d8af36d1e686b48ecbc20b502a993 (diff) | |
download | libvncserver-8175f428dc003b6a4564deee7ae78bc3b3b62ebf.zip libvncserver-8175f428dc003b6a4564deee7ae78bc3b3b62ebf.tar.gz |
Use correct winsock header
We link to ws2_32.lib which corresponds to the winsock2.h header, not the
winsock.h header.
[JES: fixed commit message]
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-rw-r--r-- | rfb/rfbproto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h index fe46c3e..540f79f 100644 --- a/rfb/rfbproto.h +++ b/rfb/rfbproto.h @@ -65,7 +65,7 @@ #define LIBVNCSERVER_WORDS_BIGENDIAN #define rfbBool int #include <sys/timeb.h> -#include <winsock.h> +#include <winsock2.h> #undef SOCKET #define SOCKET int #else |