Fix definition of POSIX data types

Commit 92f558482d 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>
pull/1/head
Stefan Weil 9 years ago
parent b71cc64e58
commit 68d43fb62d

@ -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;

Loading…
Cancel
Save