Remove use of X windows include

This commit is contained in:
Dave Airlie
2004-06-06 23:32:12 +00:00
parent e1a7f31c2b
commit 4ffbb81bd3
+2 -2
View File
@@ -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)