diff --git a/CMakeLists.txt b/CMakeLists.txt index f3b2ce20a..1b4eba507 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ endif() find_package(FreeType REQUIRED) find_package(FreeImage REQUIRED) find_package(SDL REQUIRED) -find_package(Boost REQUIRED) +find_package(Boost REQUIRED COMPONENTS system filesystem) #------------------------------------------------------------------------------- #set up compiler flags and excutable names diff --git a/data/Resources.h b/data/Resources.h index e77ec04df..1e7274a37 100644 --- a/data/Resources.h +++ b/data/Resources.h @@ -1,5 +1,7 @@ #pragma once +#include + //This is a shabby, sort of OS-independent resource "system" //Use bin2h: http://code.google.com/p/bin2h/ //to convert the binary files to C code, diff --git a/src/ImageIO.cpp b/src/ImageIO.cpp index e75bc80cb..4f63e9537 100644 --- a/src/ImageIO.cpp +++ b/src/ImageIO.cpp @@ -1,5 +1,7 @@ #include "ImageIO.h" +#include + #include "Log.h"