diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-12-04 22:11:21 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-12-04 22:11:21 +0000 |
commit | 3588b1e65bcc675ac2a5279ea348745252691650 (patch) | |
tree | bd03e54585d690a8221472cee5042a29dab23e5e /dist/Mesa | |
parent | bf8edbb670e3e9aa620f5d0e55c7193e13755283 (diff) |
Include "glheader.h" to get a definition of __builtin_expect for gcc 2.95.
Diffstat (limited to 'dist/Mesa')
-rw-r--r-- | dist/Mesa/src/glx/x11/indirect_vertex_program.c | 1 | ||||
-rw-r--r-- | dist/Mesa/src/glx/x11/pixelstore.c | 1 |
2 files changed, 2 insertions, 0 deletions
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 <GL/glxproto.h> +#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 |