summaryrefslogtreecommitdiff
path: root/src/glx/x11/pixelstore.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-06-06 16:06:09 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-06-21 10:19:45 -0600
commit4ba39c40aef45be5d534676c8661e90808deb602 (patch)
treed7522809109f3cef39a248b337a24dece54b8669 /src/glx/x11/pixelstore.c
parent3491cbea88e86a64d427298df1aba75e146f15e7 (diff)
Fix builds with compilers other than gcc 3.0 & newer
Add #include "glheader.h" for definition of __builtin_expect for compilers that don't support it. Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com>
Diffstat (limited to 'src/glx/x11/pixelstore.c')
-rw-r--r--src/glx/x11/pixelstore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/x11/pixelstore.c b/src/glx/x11/pixelstore.c
index 3bf1b35ba3..8431b29e90 100644
--- a/src/glx/x11/pixelstore.c
+++ b/src/glx/x11/pixelstore.c
@@ -34,6 +34,7 @@
**
*/
+#include "glheader.h"
#include "glxclient.h"
#include "indirect.h"