aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include/servermd.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/include/servermd.h')
-rw-r--r--xorg-server/include/servermd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xorg-server/include/servermd.h b/xorg-server/include/servermd.h
index a3b5c3af3..087826f48 100644
--- a/xorg-server/include/servermd.h
+++ b/xorg-server/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