diff options
Diffstat (limited to 'rfb')
-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; |