diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2014-09-20 21:11:46 -0700 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2014-09-20 21:11:46 -0700 |
commit | 103a03aecaebbe45585740563b75dec44224c0e4 (patch) | |
tree | e1288ec33c65e4d31358b2d29d7718b5c61f908f /xorg | |
parent | 2badb31bf207fa2fa9d2060bcc69569b6306b753 (diff) | |
download | xrdp-proprietary-103a03aecaebbe45585740563b75dec44224c0e4.tar.gz xrdp-proprietary-103a03aecaebbe45585740563b75dec44224c0e4.zip |
Xorg: endian fix
Diffstat (limited to 'xorg')
-rw-r--r-- | xorg/server/module/rdpCursor.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xorg/server/module/rdpCursor.c b/xorg/server/module/rdpCursor.c index 3859e8e7..d4862df7 100644 --- a/xorg/server/module/rdpCursor.c +++ b/xorg/server/module/rdpCursor.c @@ -39,11 +39,18 @@ cursor #include <cursor.h> #include <cursorstr.h> +#include <X11/Xarch.h> + #include "rdp.h" #include "rdpMain.h" #include "rdpDraw.h" #include "rdpClientCon.h" +#ifndef X_BYTE_ORDER +#warning X_BYTE_ORDER not defined +#endif + +#if (X_BYTE_ORDER == X_LITTLE_ENDIAN) /* Copied from Xvnc/lib/font/util/utilbitmap.c */ static unsigned char g_reverse_byte[0x100] = { @@ -80,6 +87,7 @@ static unsigned char g_reverse_byte[0x100] = 0x0f, 0x8f, 0x4f, 0xcf, 0x2f, 0xaf, 0x6f, 0xef, 0x1f, 0x9f, 0x5f, 0xdf, 0x3f, 0xbf, 0x7f, 0xff }; +#endif /******************************************************************************/ #define LOG_LEVEL 1 |