summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2004-06-06 23:32:12 +0000
committerDave Airlie <airliedfreedesktop.org>2004-06-06 23:32:12 +0000
commit4ffbb81bd3a7af8a1297e93d1fd4dda61f012a53 (patch)
tree76a828a9cb399a96f52e6929522a86a0d2fc7a75 /src/mesa/drivers
parente1a7f31c2b47e053ad70f5c4c519e294c273724c (diff)
Remove use of X windows include
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/mach64/mach64_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_context.h b/src/mesa/drivers/dri/mach64/mach64_context.h
index a4a48b8fb38..e61083f821b 100644
--- a/src/mesa/drivers/dri/mach64/mach64_context.h
+++ b/src/mesa/drivers/dri/mach64/mach64_context.h
@@ -355,9 +355,9 @@ extern GLboolean mach64UnbindContext( __DRIcontextPrivate *driContextPriv );
/* ================================================================
* Byte ordering
*/
-#include "X11/Xarch.h"
+#include <endian.h>
-#if X_BYTE_ORDER == X_LITTLE_ENDIAN
+#if __BYTE_ORDER == __LITTLE_ENDIAN
#define LE32_IN( x ) ( *(GLuint *)(x) )
#define LE32_IN_FLOAT( x ) ( *(GLfloat *)(x) )
#define LE32_OUT( x, y ) do { *(GLuint *)(x) = (y); } while (0)