From de0007b66cfa78c22ba1d4d5054546b851a7d568 Mon Sep 17 00:00:00 2001 From: Matt Denham Date: Thu, 12 Feb 2004 07:22:18 +0000 Subject: [PATCH] fix failure to compile (c'mon guys, remember your #includes :-) --- stepmania/src/RageDisplay.cpp | 3 +++ stepmania/src/SDL_SaveJPEG.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/stepmania/src/RageDisplay.cpp b/stepmania/src/RageDisplay.cpp index ca5de4d1d9..28a4c4602b 100644 --- a/stepmania/src/RageDisplay.cpp +++ b/stepmania/src/RageDisplay.cpp @@ -21,6 +21,9 @@ #include "SDL_image.h" #include "RageFile.h" +// needs to be added to avoid an error +#include "SDL_SaveJPEG.h" + // // Statistics stuff // diff --git a/stepmania/src/SDL_SaveJPEG.cpp b/stepmania/src/SDL_SaveJPEG.cpp index d7ded88700..64505039e0 100644 --- a/stepmania/src/SDL_SaveJPEG.cpp +++ b/stepmania/src/SDL_SaveJPEG.cpp @@ -6,6 +6,8 @@ #include "libjpeg/jpeglib.h" +// Why aren't we including the header to this? +#include "SDL_SaveJPEG.h" /* Pull in JPEG library here. */ #ifdef _XBOX