summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-05-11 16:34:48 -0700
committerKeith Packard <keithp@keithp.com>2015-05-11 16:34:48 -0700
commitc39c3a97508dc384c0757a0990c07b5d7b2fe97a (patch)
treecc9758e3d15a407c9f9f710b4596d34f50c4d5c9 /include
parent6b65e961894b9ed53066d22cfd218b12c3f361ca (diff)
parent7470578520e90b6402b2509cd0c51fd4fd84849f (diff)
Merge remote-tracking branch 'ajax/xserver-next'
Diffstat (limited to 'include')
-rw-r--r--include/servermd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/servermd.h b/include/servermd.h
index a3b5c3af3..087826f48 100644
--- a/include/servermd.h
+++ b/include/servermd.h
@@ -52,6 +52,8 @@ SOFTWARE.
#error xserver code must include dix-config.h before any other headers
#endif
+#include <X11/Xarch.h> /* for X_LITTLE_ENDIAN/X_BIG_ENDIAN */
+
#if X_BYTE_ORDER == X_LITTLE_ENDIAN
#define IMAGE_BYTE_ORDER LSBFirst
#define BITMAP_BIT_ORDER LSBFirst