From 3588b1e65bcc675ac2a5279ea348745252691650 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Mon, 4 Dec 2006 22:11:21 +0000 Subject: Include "glheader.h" to get a definition of __builtin_expect for gcc 2.95. --- dist/Mesa/src/glx/x11/indirect_vertex_program.c | 1 + dist/Mesa/src/glx/x11/pixelstore.c | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/Mesa/src/glx/x11/indirect_vertex_program.c b/dist/Mesa/src/glx/x11/indirect_vertex_program.c index 5383dcc98..b1be1af9d 100644 --- a/dist/Mesa/src/glx/x11/indirect_vertex_program.c +++ b/dist/Mesa/src/glx/x11/indirect_vertex_program.c @@ -29,6 +29,7 @@ #include "glxclient.h" #include "indirect_vertex_array.h" #include +#include "glheader.h" static void do_vertex_attrib_enable( GLuint index, GLboolean val ) diff --git a/dist/Mesa/src/glx/x11/pixelstore.c b/dist/Mesa/src/glx/x11/pixelstore.c index 3bf1b35ba..30dd0ce2d 100644 --- a/dist/Mesa/src/glx/x11/pixelstore.c +++ b/dist/Mesa/src/glx/x11/pixelstore.c @@ -36,6 +36,7 @@ #include "glxclient.h" #include "indirect.h" +#include "glheader.h" /** * Send glPixelStore command to the server -- cgit v1.2.3