summaryrefslogtreecommitdiff
path: root/sci-libs/vtk/files/vtk-5.6.1-gcc-46.patch
blob: 263e24f69b3d79ae216c5b86a26f8a267de3c97b (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
 Common/vtkPythonUtil.cxx          |    2 ++
 Utilities/vtkmetaio/metaUtils.cxx |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Common/vtkPythonUtil.cxx b/Common/vtkPythonUtil.cxx
index 7bc7660..d218e0d 100644
--- a/Common/vtkPythonUtil.cxx
+++ b/Common/vtkPythonUtil.cxx
@@ -31,6 +31,8 @@
 #include <vtkstd/map>
 #include <vtkstd/string>
 
+#include <cstddef>
+
 // Silent warning like
 // "dereferencing type-punned pointer will break strict-aliasing rules"
 // it happens because this kind of expression: (long *)&ptr
diff --git a/Utilities/vtkmetaio/metaUtils.cxx b/Utilities/vtkmetaio/metaUtils.cxx
index 08d3e8d..bbcc9ec 100644
--- a/Utilities/vtkmetaio/metaUtils.cxx
+++ b/Utilities/vtkmetaio/metaUtils.cxx
@@ -37,6 +37,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <string>
+#include <cstddef>
 
 #if defined (__BORLANDC__) && (__BORLANDC__ >= 0x0580)
 #include <mem.h>