From 27e23a17465a84f12b1c8c9c14504d6daf22d307 Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 3 Apr 2009 16:57:20 +0000 Subject: [PATCH] use #include instaead of #include "glut.h" --- configure.ac | 1 - lib/glcomp/glcompbutton.c | 2 +- lib/glcomp/glcomptext.c | 2 +- lib/glcomp/glcomptext.h | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 565322f95..47f28b02f 100644 --- a/configure.ac +++ b/configure.ac @@ -2454,7 +2454,6 @@ if test "x$with_glut" != "xyes"; then else save_CPPFLAGS=$CPPFLAGS save_LDFLAGS=$LDFLAGS - GLUT_CFLAGS="-I/usr/include/GL" AC_ARG_WITH(glutincludedir, [AS_HELP_STRING([--with-glutincludedir=DIR],[use GLUT includes from DIR])], [GLUT_CFLAGS="-I$withval"]) diff --git a/lib/glcomp/glcompbutton.c b/lib/glcomp/glcompbutton.c index 95bf0e088..0c557368f 100644 --- a/lib/glcomp/glcompbutton.c +++ b/lib/glcomp/glcompbutton.c @@ -15,7 +15,7 @@ #include "glcomptexture.h" #include "glcomptext.h" #include -#include "glut.h" +#include glCompButton *glCompButtonNew(GLfloat x, GLfloat y, GLfloat w, GLfloat h, char *caption, char *glyphfile, diff --git a/lib/glcomp/glcomptext.c b/lib/glcomp/glcomptext.c index de16c07fd..4fec75117 100644 --- a/lib/glcomp/glcomptext.c +++ b/lib/glcomp/glcomptext.c @@ -13,7 +13,7 @@ #include "glcomptext.h" #include "glpangofont.h" #include "memory.h" -#include "glut.h" +#include void print_bitmap_string(void* font, char* s) diff --git a/lib/glcomp/glcomptext.h b/lib/glcomp/glcomptext.h index cac9ecb95..bf88e848d 100644 --- a/lib/glcomp/glcomptext.h +++ b/lib/glcomp/glcomptext.h @@ -23,7 +23,7 @@ typedef float GLfloat; #include #endif #include "glcompdefs.h" -#include "glut.h" +#include #ifdef __cplusplus extern "C" { -- 2.40.0