diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/updatewindow.cpp | 5 | ||||
-rw-r--r-- | src/main.cpp | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp index 86d0a57c..628082d0 100644 --- a/src/gui/updatewindow.cpp +++ b/src/gui/updatewindow.cpp @@ -28,8 +28,6 @@ #include <SDL_thread.h> #include <zlib.h> -#include <curl/curl.h> - #include <guichan/widgets/label.hpp> #include "browserbox.h" @@ -37,6 +35,9 @@ #include "progressbar.h" #include "scrollarea.h" +// Curl should be included after Guichan to avoid Windows redefinitions +#include <curl/curl.h> + #include "../configuration.h" #include "../log.h" #include "../main.h" diff --git a/src/main.cpp b/src/main.cpp index 8c70d62f..08fe693a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,8 +39,6 @@ #if (defined __USE_UNIX98 || defined __FreeBSD__) #include <cerrno> #include <sys/stat.h> -#elif defined WIN32 -#define NOGDI #endif #include "configuration.h" |