]> git.pld-linux.org Git - packages/ctl.git/blame - ctl-include.patch
- enhanced ctl patch to cover g++ 4.7
[packages/ctl.git] / ctl-include.patch
CommitLineData
42dd3467
JB
1--- ctl-1.4.1/IlmCtl/CtlLex.cpp.orig 2007-03-20 18:48:40.000000000 +0100
2+++ ctl-1.4.1/IlmCtl/CtlLex.cpp 2013-03-28 18:59:30.520355166 +0100
3@@ -57,6 +57,7 @@
4 #include <CtlLContext.h>
5 #include <iomanip>
6 #include <cassert>
7+#include <cstdlib>
8
9
10 #if 0
11--- ctl-1.4.1/IlmCtlSimd/CtlSimdReg.h.orig 2006-11-30 02:46:44.000000000 +0100
12+++ ctl-1.4.1/IlmCtlSimd/CtlSimdReg.h 2013-03-28 19:05:40.243672986 +0100
13@@ -49,6 +49,7 @@
14 #ifndef INCLUDED_CTL_SIMD_REG_H
15 #define INCLUDED_CTL_SIMD_REG_H
16
17+#include <cstring>
18 #include <typeinfo>
19 #include <CtlExc.h>
20 #include <Iex.h>
464e5352
JB
21--- ctl-1.4.1/IlmCtl/CtlInterpreter.cpp.orig 2006-12-14 23:43:55.000000000 +0100
22+++ ctl-1.4.1/IlmCtl/CtlInterpreter.cpp 2013-03-28 22:09:59.194860880 +0100
23@@ -69,6 +69,8 @@
24 #include <io.h>
25 #include <stdio.h>
26 #include <stdlib.h>
27+#else
28+ #include <unistd.h>
29 #endif
30
31 using namespace std;
This page took 0.198561 seconds and 4 git commands to generate.