summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2011-02-08 23:58:06 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2011-02-08 23:58:06 +0000
commit2ab9bec287163d8db482d1851562d2ba6a00b5e9 (patch)
treee7bb583c1edf244bfbee5c27f7cca8c20e3b95fa
parent6cad77308d5c794052daaf3dd301b89bc894bd63 (diff)
Added missing #include for gcc-4.6 compatibility
-rw-r--r--muse2/ChangeLog2
-rw-r--r--muse2/muse/memory.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog
index f93c4101..685bdec2 100644
--- a/muse2/ChangeLog
+++ b/muse2/ChangeLog
@@ -1,3 +1,5 @@
+08.02.2011:
+ - made muse compilable under gcc-4.6. ptrdiff_t type requires inclusion of cstddef. (Orcan)
31.01.2011:
- added cmake option (-DMODULES_BUILD_STATIC=ON) to build the internal modules
statically. It should be possible to run muse from the build tree. (Orcan)
diff --git a/muse2/muse/memory.h b/muse2/muse/memory.h
index e2ffb150..9e996965 100644
--- a/muse2/muse/memory.h
+++ b/muse2/muse/memory.h
@@ -11,6 +11,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <cstddef>
#include <map>
// most of the following code is based on examples