diff options
Diffstat (limited to 'gcc-4.7.patch')
-rw-r--r-- | gcc-4.7.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc-4.7.patch b/gcc-4.7.patch new file mode 100644 index 000000000000..8bf9ca8c3fe5 --- /dev/null +++ b/gcc-4.7.patch @@ -0,0 +1,12 @@ +diff --git a/vcglib/wrap/ply/plystuff.h b/vcglib/wrap/ply/plystuff.h +index 3e41e63..4af9508 100644 +--- a/vcglib/wrap/ply/plystuff.h ++++ b/vcglib/wrap/ply/plystuff.h +@@ -75,6 +75,7 @@ using namespace vcg; + #define pb_close _close + #define DIR_SEP "\\" + #else ++#include <unistd.h> + #define pb_mkdir(n) mkdir(n,0755) + #define pb_access access + #define pb_stat stat |