Fix compilation errors when not using precompiled headers

Originally committed to SVN as r4511.
This commit is contained in:
Thomas Goyne 2010-06-14 19:26:27 +00:00
parent 340cc1d7f1
commit 5338a60cdb
11 changed files with 25 additions and 1 deletions

View file

@ -20,6 +20,8 @@
#ifndef LAGI_PRE
#include <assert.h>
#include <errno.h>
#include <stdint.h>
#include <map>
#endif

View file

@ -20,6 +20,7 @@
#ifndef LAGI_PRE
#include <stdio.h>
#include <stdint.h>
#include <time.h>
#include <deque>

View file

@ -9,6 +9,7 @@
#include <string.h>
#include <sys/stat.h>
#include <time.h>
#include <sys/time.h>
// Windows C
#ifdef _WIN32

View file

@ -39,6 +39,7 @@
#include <vector>
#include "boost/shared_ptr.hpp"
#include <wx/colour.h>
#include <wx/font.h>
#endif

View file

@ -20,8 +20,12 @@
#ifndef AGI_PRE
#include <wx/checkbox.h>
#include <wx/combobox.h>
#include <wx/filefn.h>
#include <wx/sizer.h>
#include <wx/spinctrl.h>
#include <wx/stattext.h>
#include <wx/stdpaths.h>
#include <wx/treebook.h>
#endif

View file

@ -43,6 +43,7 @@
#include <wx/dcclient.h>
#include <wx/glcanvas.h>
#include <wx/menu.h>
#include <wx/toolbar.h>
#endif
#ifdef __APPLE__

View file

@ -47,6 +47,7 @@ class VideoSlider;
class VideoBox;
class VideoOutGL;
class IVisualTool;
class wxToolBar;
namespace agi {
class OptionValue;
}

View file

@ -36,6 +36,7 @@
#include "config.h"
#ifndef AGI_PRE
#include <algorithm>
#include <wx/glcanvas.h>
#endif

View file

@ -36,8 +36,9 @@
#pragma once
#ifndef AGI_PRE
#include <vector>
#include <map>
#include <set>
#include <vector>
#include <wx/log.h>
#include <wx/event.h>

View file

@ -35,9 +35,19 @@
#ifndef AGI_PRE
#include <wx/toolbar.h>
#ifdef HAVE_APPLE_OPENGL_FRAMEWORK
#include <OpenGL/GL.h>
#include <OpenGL/glu.h>
#include <OpenGL/glext.h>
#else
#include <GL/gl.h>
#include <GL/glu.h>
#include "gl/glext.h"
#endif
#endif
#include "config.h"
#include "ass_dialogue.h"

View file

@ -119,6 +119,7 @@ int main(int argc, const char *argv[]) {
wxString filename;
FileIterator iter(argc, argv);
outC << "#include \"libresrc.h\"" << endl;
while (iter.Next(&filename)) {
ifstream infile(filename.char_str(), ios::binary);
infile.seekg(0, ios::end);