summaryrefslogtreecommitdiff
blob: b918ca52ec45f1d0e3a1fc939135f476ef1492bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git vcglib/wrap/ply/plystuff.h vcglib/wrap/ply/plystuff.h
index 3e41e63..4af9508 100644
--- vcglib/wrap/ply/plystuff.h
+++ 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