From 46659db4fdceb8e805f09ae35b9a9f790e5c67e3 Mon Sep 17 00:00:00 2001 From: matthieu Date: Mon, 4 Dec 2006 22:11:20 +0000 Subject: [PATCH] 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