Fix builds with compilers other than gcc 3.0 & newer
authorAlan Coopersmith <alan.coopersmith@sun.com>
Fri, 6 Jun 2008 23:06:09 +0000 (16:06 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 21 Jun 2008 16:19:45 +0000 (10:19 -0600)
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>
src/glx/x11/indirect_vertex_program.c
src/glx/x11/pixelstore.c
src/glx/x11/singlepix.c

index 5383dcc..8d7cec9 100644 (file)
@@ -23,6 +23,7 @@
  * SOFTWARE.
  */
 
+#include "glheader.h"
 #include <inttypes.h>
 #include <GL/gl.h>
 #include "indirect.h"
index 3bf1b35..8431b29 100644 (file)
@@ -34,6 +34,7 @@
 **
 */
 
+#include "glheader.h"
 #include "glxclient.h"
 #include "indirect.h"
 
index bc5b162..5f97766 100644 (file)
@@ -34,6 +34,7 @@
 **
 */
 
+#include "glheader.h"
 #include "packsingle.h"
 #include "indirect.h"
 #include "dispatch.h"