diff options
author | Stefan Weil <sw@weilnetz.de> | 2015-10-10 12:18:32 +0200 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2015-10-10 12:30:08 +0200 |
commit | 68d43fb62dc9ecca7b32719464d7424c91ba70d7 (patch) | |
tree | aafb0bce5a487deb4c310982bfd0cd50a8073ae1 /rfb | |
parent | b71cc64e5865bd79bd446a0ef49694f415d8921f (diff) | |
download | libtdevnc-68d43fb62dc9ecca7b32719464d7424c91ba70d7.tar.gz libtdevnc-68d43fb62dc9ecca7b32719464d7424c91ba70d7.zip |
Fix definition of POSIX data types
Commit 92f558482d94c5152174a1983a40863bd6b07911 added stdint.h to get
the type definitions, but included it after the first use of int8_t in
builds for Windows.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/rfbproto.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h index 6921d4a..5061b6e 100644 --- a/rfb/rfbproto.h +++ b/rfb/rfbproto.h @@ -60,6 +60,7 @@ * messages have to be explained by comments. */ +#include <stdint.h> #if defined(WIN32) && !defined(__MINGW32__) #define LIBVNCSERVER_WORDS_BIGENDIAN @@ -108,8 +109,6 @@ typedef int8_t rfbBool; #define TRUE -1 #endif -#include <stdint.h> - typedef uint32_t rfbKeySym; typedef uint32_t rfbPixel; |