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 5383dcc981027ded1213a155ae3cbacb3605ea3c..8d7cec9dd21c9560eff7c1444b52eb5a1bcb5fdd 100644 (file)
@@ -23,6 +23,7 @@
  * SOFTWARE.
  */
 
+#include "glheader.h"
 #include <inttypes.h>
 #include <GL/gl.h>
 #include "indirect.h"
index 3bf1b35ba3c72bee875f9bd7f84158fb1d865659..8431b29e906a56db8dc2c3649e04a2b13e02b929 100644 (file)
@@ -34,6 +34,7 @@
 **
 */
 
+#include "glheader.h"
 #include "glxclient.h"
 #include "indirect.h"
 
index bc5b162c67920246c197481ca26c99ad06d35648..5f977666371e7503229397f92deda4a5078a3f81 100644 (file)
@@ -34,6 +34,7 @@
 **
 */
 
+#include "glheader.h"
 #include "packsingle.h"
 #include "indirect.h"
 #include "dispatch.h"