summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-11-21 02:54:04 +0000
committerIra Rice <irarice@gmail.com>2008-11-21 02:54:04 +0000
commit22aa43fac05d9a7f61f776bd03230b36ed853ad5 (patch)
treec1e8c7a81ac42b49889fdadab54e9f5e27fbab83 /src/main.cpp
parent40f2ec0582932bb21952cb58c5e51ca508206cae (diff)
downloadmana-client-22aa43fac05d9a7f61f776bd03230b36ed853ad5.tar.gz
mana-client-22aa43fac05d9a7f61f776bd03230b36ed853ad5.tar.bz2
mana-client-22aa43fac05d9a7f61f776bd03230b36ed853ad5.tar.xz
mana-client-22aa43fac05d9a7f61f776bd03230b36ed853ad5.zip
Fixed the linker error that we've been having. Apparently, it was caused
by me accidently removing the include for main.h in openglgraphics.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp30
1 files changed, 16 insertions, 14 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 42a504fe..bebf4591 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -34,20 +34,6 @@
#include <libxml/parser.h>
-#ifdef __APPLE__
-#include <CoreFoundation/CFBundle.h>
-#endif
-#ifdef __MINGW32__
-#include <windows.h>
-#define usleep(usec) (Sleep ((usec) / 1000), 0)
-#endif
-#ifdef WIN32
-#include <SDL_syswm.h>
-#else
-#include <cerrno>
-#include <sys/stat.h>
-#endif
-
#include "configuration.h"
#include "game.h"
#include "graphics.h"
@@ -92,6 +78,22 @@
#include "utils/dtor.h"
#include "utils/tostring.h"
+#ifdef __APPLE__
+#include <CoreFoundation/CFBundle.h>
+#endif
+
+#ifdef __MINGW32__
+#include <windows.h>
+#define usleep(usec) (Sleep ((usec) / 1000), 0)
+#endif
+
+#ifdef WIN32
+#include <SDL_syswm.h>
+#else
+#include <cerrno>
+#include <sys/stat.h>
+#endif
+
// Account infos
char n_server, n_character;