diff options
author | Christian Beier <dontmind@freeshell.org> | 2015-10-10 14:13:17 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2015-10-10 14:13:17 +0200 |
commit | 228a75fe3a61794d5a153598c6046a57f52fc22d (patch) | |
tree | 010df7be216e783c58d0001b1f5bd0749c85aac7 /rfb/rfbproto.h | |
parent | ab0765903987296fe03bc3dd11645206f9d67e7f (diff) | |
parent | 68d43fb62dc9ecca7b32719464d7424c91ba70d7 (diff) | |
download | libtdevnc-228a75fe3a61794d5a153598c6046a57f52fc22d.tar.gz libtdevnc-228a75fe3a61794d5a153598c6046a57f52fc22d.zip |
Merge pull request #90 from stweil/fix
Fix some recently introduced regressions
Diffstat (limited to 'rfb/rfbproto.h')
-rw-r--r-- | rfb/rfbproto.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h index d5e5291..8e607e5 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 @@ -80,11 +81,12 @@ #endif #endif +#if !defined(_WIN32) # include <endian.h> # if __BYTE_ORDER == __BIG_ENDIAN -# define LIBVBNCSERVER_WORDS_BIGENDIAN 1 +# define LIBVNCSERVER_WORDS_BIGENDIAN 1 # endif - +#endif /* !_WIN32 */ /* MS compilers don't have strncasecmp */ #ifdef _MSC_VER @@ -107,8 +109,6 @@ typedef int8_t rfbBool; #define TRUE -1 #endif -#include <stdint.h> - typedef uint32_t rfbKeySym; typedef uint32_t rfbPixel; |