[Mesa-dev] [PATCH mesa-demos] Fix compilation of osdemo.c after commit 5d5dc0e

Jon TURNEY jon.turney at dronecode.org.uk
Thu May 19 10:24:42 PDT 2011

Fix compilation of osdemo.c after commit 5d5dc0e "Mac OS X portability fixes."

ostest1.c also now needs some kind of attention, as it now no longer includes
glu.h but refers to symbols defined there, but it is not built by the makefile.

Found by tinderbox, see [1]

[1] http://tinderbox.freedesktop.org/builds/2011-05-13-0004/logs/mesa-demos/#build

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
 src/osdemos/osdemo.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/osdemos/osdemo.c b/src/osdemos/osdemo.c
index 71111f8..cd98ce4 100644
--- a/src/osdemos/osdemo.c
+++ b/src/osdemos/osdemo.c
@@ -22,6 +22,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include "GL/osmesa.h"
+#include "gl_wrap.h"
 #define SAVE_TARGA

More information about the mesa-dev mailing list