summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Jaara <jesse.jaara@gmail.com>2012-10-02 20:29:40 (GMT)
committer Jesse Jaara <jesse.jaara@gmail.com>2012-10-02 20:29:40 (GMT)
commit1ba412d3bada6c0594559827c5d5bbad79b92a5a (patch)
treee77de0b905aed2e2384985ef2af5dcd16b5a25a2 /src
parentb98f5faaceff4b8dee4de763678b7c73a1143476 (diff)
downloadpowder-1ba412d3bada6c0594559827c5d5bbad79b92a5a.zip
powder-1ba412d3bada6c0594559827c5d5bbad79b92a5a.tar.gz
Add couple of missing header files needed by GCC 4.7.
Diffstat (limited to 'src')
-rw-r--r--src/cat/LuaScriptInterface.cpp3
-rw-r--r--src/simulation/StructProperty.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp
index fc00e24..05b0c3f 100644
--- a/src/cat/LuaScriptInterface.cpp
+++ b/src/cat/LuaScriptInterface.cpp
@@ -11,6 +11,7 @@
#include <algorithm>
#include <locale>
#include <fstream>
+#include <unistd.h>
#include "Config.h"
#include "Format.h"
#include "LuaLuna.h"
@@ -1703,4 +1704,4 @@ std::string LuaScriptInterface::FormatCommand(std::string command)
LuaScriptInterface::~LuaScriptInterface() {
delete legacy;
-} \ No newline at end of file
+}
diff --git a/src/simulation/StructProperty.h b/src/simulation/StructProperty.h
index 8debaca..5c46c7e 100644
--- a/src/simulation/StructProperty.h
+++ b/src/simulation/StructProperty.h
@@ -10,6 +10,7 @@
#define The_Powder_Toy_StructProperty_h
#include <string>
+#include <stdint.h>
struct StructProperty
{