Fix builds with compilers other than gcc 3.0 & newer

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>
This commit is contained in:
Alan Coopersmith 2008-06-06 16:06:09 -07:00 committed by Brian Paul
parent 3491cbea88
commit 4ba39c40ae
3 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@
* SOFTWARE.
*/
#include "glheader.h"
#include <inttypes.h>
#include <GL/gl.h>
#include "indirect.h"

View File

@ -34,6 +34,7 @@
**
*/
#include "glheader.h"
#include "glxclient.h"
#include "indirect.h"

View File

@ -34,6 +34,7 @@
**
*/
#include "glheader.h"
#include "packsingle.h"
#include "indirect.h"
#include "dispatch.h"