From 4e2d808e1b9bacb9e42262f3a72b652e1e06a923 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 11 Dec 2004 05:55:55 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4823 --- api/boinc_gl.h | 2 +- api/gutil.C | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/api/boinc_gl.h b/api/boinc_gl.h index d91b9c32cd..a425146139 100644 --- a/api/boinc_gl.h +++ b/api/boinc_gl.h @@ -20,7 +20,6 @@ #ifndef H_BOINC_GL #define H_BOINC_GL -#include "config.h" #if defined(_WIN32) # include @@ -33,6 +32,7 @@ # include "GLUT/glut.h" #else // !_WIN32, !__APPLE_CC__ +#include "config.h" # if defined(HAVE_GL_H) # include diff --git a/api/gutil.C b/api/gutil.C index 5b39a6620b..a69b9d7cd4 100755 --- a/api/gutil.C +++ b/api/gutil.C @@ -17,11 +17,11 @@ // Contributor(s): // -#include "config.h" - #ifdef _WIN32 #include "boinc_win.h" +extern "C"{ #include "jpeglib.h" +} #include "bmplib.h" #include "tgalib.h" #endif @@ -39,8 +39,6 @@ extern "C"{ #include "boinc_gl.h" -//#include - #include "gutil.h" #include "filesys.h" #include "util.h"