aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2013-01-20 22:28:10 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-20 22:28:10 +0100
commit11b0c18dacbb46541ce0d22e0498abac38d30f7b (patch)
treedf4a36b25a69f318054d10548e8654b7a9a63db9 /src/utils
parentbc84caa13d6fcc6d49c3b39e7341fa0c8d9c82ed (diff)
downloadusdx-11b0c18dacbb46541ce0d22e0498abac38d30f7b.tar.gz
usdx-11b0c18dacbb46541ce0d22e0498abac38d30f7b.tar.xz
usdx-11b0c18dacbb46541ce0d22e0498abac38d30f7b.zip
fix includes
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/binary_file.cpp4
-rw-r--r--src/utils/image.cpp5
-rw-r--r--src/utils/rgb_color.cpp2
-rw-r--r--src/utils/rgba_color.cpp2
4 files changed, 11 insertions, 2 deletions
diff --git a/src/utils/binary_file.cpp b/src/utils/binary_file.cpp
index 06056405..536bdc70 100644
--- a/src/utils/binary_file.cpp
+++ b/src/utils/binary_file.cpp
@@ -22,9 +22,11 @@
*
*/
-#include "binary_file.hpp"
+#include <cstddef>
#include <string>
+#include "binary_file.hpp"
+
namespace usdx
{
BinaryFile::BinaryFile(const std::string& filename) : file(filename.c_str(), std::ifstream::in | std::ifstream::binary), content(NULL)
diff --git a/src/utils/image.cpp b/src/utils/image.cpp
index 3fd8b3a9..10d4c13b 100644
--- a/src/utils/image.cpp
+++ b/src/utils/image.cpp
@@ -22,8 +22,11 @@
*
*/
-#include "image.hpp"
+#include <cstddef>
+
#include <SDL/SDL_image.h>
+
+#include "image.hpp"
#include "utils/binary_file.hpp"
namespace usdx
diff --git a/src/utils/rgb_color.cpp b/src/utils/rgb_color.cpp
index 2e8954c0..0ebfe67c 100644
--- a/src/utils/rgb_color.cpp
+++ b/src/utils/rgb_color.cpp
@@ -22,6 +22,8 @@
*
*/
+#include <cstddef>
+
#include "rgb_color.hpp"
namespace usdx
diff --git a/src/utils/rgba_color.cpp b/src/utils/rgba_color.cpp
index bacb37de..aed484f6 100644
--- a/src/utils/rgba_color.cpp
+++ b/src/utils/rgba_color.cpp
@@ -22,6 +22,8 @@
*
*/
+#include <cstddef>
+
#include "rgba_color.hpp"
namespace usdx