summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-02-09 18:31:45 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-02-09 18:31:45 +0000
commitabeb8d55429fc4179bcd32fa884e7487e441c1e7 (patch)
treeaecf24178d4f6ff06ad9f35f2f9950c8cb34d48d
parent48bc4333364136b8064ba94294b453016b947ad6 (diff)
2008-02-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Included <cstring> from common.h, to just avoid gcc4.3 compilation error. * src/common.h
-rw-r--r--ChangeLog6
-rw-r--r--src/common.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a9174ef2..a15639e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
+
+ Included <cstring> from common.h, to just avoid gcc4.3 compilation
+ error.
+ * src/common.h
+
2008-02-02 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
* po/Makefile.in: Removed since this is generated by configure.
diff --git a/src/common.h b/src/common.h
index 7562495a..f31b2eb9 100644
--- a/src/common.h
+++ b/src/common.h
@@ -56,6 +56,8 @@
#include <limits.h>
#include <unistd.h>
#include <stdlib.h>
+// TODO this should be included where only it is need.
+#include <cstring>
#include <string>
#include <deque>
#include <algorithm>