added back unistd.h for non-windows

This commit is contained in:
Brad Hefta-Gaub 2014-01-15 14:59:14 -08:00
parent bd6e30070d
commit ff6e9c0416
2 changed files with 6 additions and 2 deletions

View file

@ -17,7 +17,9 @@
#include <stdint.h> #include <stdint.h>
#include <iterator> #include <iterator>
//#include <unistd.h> // not on windows, not needed for mac or windows #ifndef _WIN32
#include <unistd.h> // not on windows, not needed for mac or windows
#endif
#include <QtCore/QSettings> #include <QtCore/QSettings>
#include <QtCore/QSharedPointer> #include <QtCore/QSharedPointer>

View file

@ -12,7 +12,9 @@
#include <math.h> #include <math.h>
#include <stdint.h> #include <stdint.h>
//#include <unistd.h> // not on windows, not needed for mac or windows #ifndef _WIN32
#include <unistd.h> // not on windows, not needed for mac or windows
#endif
#include <glm/glm.hpp> #include <glm/glm.hpp>
#include <glm/gtc/quaternion.hpp> #include <glm/gtc/quaternion.hpp>