summaryrefslogtreecommitdiff
blob: 77c4261db5cf004abddf46e9f577f970e6ad2dd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Fixes build with gcc 4.3 and 4.6

http://bugs.gentoo.org/217921
http://bugs.gentoo.org/360517

--- amap-align/align/Amap.cc
+++ amap-align/align/Amap.cc
@@ -12,6 +12,8 @@
 #include "ProbabilisticModel.h"
 #include "EvolutionaryTree.h"
 #include "SparseMatrix.h"
+#include <limits>
+#include <climits>
 #include <string>
 #include <sstream>
 #include <iomanip>
@@ -23,6 +25,7 @@
 #include <cstdlib>
 #include <cerrno>
 #include <iomanip>
+#include <cstring>
 
 string parametersInputFilename = "";
 string parametersOutputFilename = "no training";
--- amap-align/align/MultiSequenceDag.h
+++ amap-align/align/MultiSequenceDag.h
@@ -13,6 +13,7 @@
 #include <map>
 #include <queue>
 #include <iostream>
+#include <limits>
 #include "MultiSequence.h"
 #include "SparseMatrix.h"
 
--- amap-align/align/SafeVector.h.org	2011-03-26 11:50:11.935069583 +0100
+++ amap-align/align/SafeVector.h	2011-03-26 11:50:21.112553151 +0100
@@ -9,6 +9,7 @@
 #define SAFEVECTOR_H
 
 #include <cassert>
+#include <cstddef>
 #include <vector>
 
 /////////////////////////////////////////////////////////////////