summaryrefslogtreecommitdiff
blob: 903b0c77b5477c7e97969037e086113b7e07edd9 (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
45
46
From: Teemu Ikonen <tpikonen@gmail.com>
Subject: Include <cstddef> on files using offsetoff (closes: #625053)
Git-Branch: p/cstddef
Git-Diff: 532bdd9a6bde03cf47da8fb63fee60..8fb2fc380c1a53d0e603d1aaeff156

 vcglib/wrap/io_tetramesh/import_ply.h |    1 +
 vcglib/wrap/io_trimesh/import_ply.h   |    1 +
 vcglib/wrap/ply/plystuff.h            |    1 +
 3 files changed, 3 insertions(+)

diff --git a/vcglib/wrap/io_tetramesh/import_ply.h b/vcglib/wrap/io_tetramesh/import_ply.h
index 0da4c1f..8370e48 100644
--- a/vcglib/wrap/io_tetramesh/import_ply.h
+++ b/vcglib/wrap/io_tetramesh/import_ply.h
@@ -36,6 +36,7 @@ created
 #include<wrap/ply/io_mask.h>
 #include<wrap/io_tetramesh/io_ply.h>
 #include<vcg/complex/tetramesh/allocate.h>
+#include <cstddef>
 
 
 
diff --git a/vcglib/wrap/io_trimesh/import_ply.h b/vcglib/wrap/io_trimesh/import_ply.h
index 13eaa30..ce2de3a 100644
--- a/vcglib/wrap/io_trimesh/import_ply.h
+++ b/vcglib/wrap/io_trimesh/import_ply.h
@@ -29,6 +29,7 @@
 #include<wrap/io_trimesh/io_mask.h>
 #include<wrap/io_trimesh/io_ply.h>
 #include<vcg/complex/algorithms/create/platonic.h>
+#include <cstddef>
 
 namespace vcg {
 namespace tri {
diff --git a/vcglib/wrap/ply/plystuff.h b/vcglib/wrap/ply/plystuff.h
index 3e41e63..4761e9f 100644
--- a/vcglib/wrap/ply/plystuff.h
+++ b/vcglib/wrap/ply/plystuff.h
@@ -57,6 +57,7 @@ Cleaning of the automatic bbox caching support for ply files. First working vers
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h> 
+#include <cstddef>
 #ifdef WIN32
 #include <io.h>
 #endif