summaryrefslogtreecommitdiffabout
authorDennis Menschel <demichan at mail dot upb dot de>2009-03-20 23:23:05 (UTC)
committer Michael Krelin <hacker@klever.net>2009-03-22 17:15:32 (UTC)
commit87cbeba4a750b1747dd32538c9c220145169cd2c (patch) (side-by-side diff)
tree7953a6715c8ca0810cfaef4e1939fe2be534de3f
parent0c21a7a0d5b84dc6726462f0fbe51b8c32433262 (diff)
downloadmidillo-87cbeba4a750b1747dd32538c9c220145169cd2c.zip
midillo-87cbeba4a750b1747dd32538c9c220145169cd2c.tar.gz
midillo-87cbeba4a750b1747dd32538c9c220145169cd2c.tar.bz2
Added missing includes for gcc 4.3HEADmaster
Added missing includes <cstring> and <cassert>, which are required/enforced by GCC 4.3. Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--lib/SMF.cc1
-rw-r--r--lib/message.cc1
-rw-r--r--tools/mididump.cc1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/SMF.cc b/lib/SMF.cc
index ba3179d..2c62b1f 100644
--- a/lib/SMF.cc
+++ b/lib/SMF.cc
@@ -2,6 +2,7 @@
#include <fstream>
#include <algorithm>
#include <iterator>
+#include <cstring>
#include <midillo/SMF.h>
namespace midillo {
diff --git a/lib/message.cc b/lib/message.cc
index 8f9e68a..6a5cfd6 100644
--- a/lib/message.cc
+++ b/lib/message.cc
@@ -1,5 +1,6 @@
#include <algorithm>
#include <iterator>
+#include <cassert>
#include <midillo/message.h>
#include <midillo/util.h>
#include <midillo/exception.h>
diff --git a/tools/mididump.cc b/tools/mididump.cc
index 83b7086..604bcc0 100644
--- a/tools/mididump.cc
+++ b/tools/mididump.cc
@@ -3,6 +3,7 @@
#include <fstream>
#include <string>
#include <algorithm>
+#include <cstring>
using namespace std;
#include <konforka/exception.h>
#include <midillo/SMF.h>