Diff of /src/hugin_base/hugin_utils/platform.cpp [a9c74e] .. [e5cec3] Maximize Restore

  Switch to side-by-side view

--- a/src/hugin_base/hugin_utils/platform.cpp
+++ b/src/hugin_base/hugin_utils/platform.cpp
@@ -27,6 +27,8 @@
 
 #ifdef _WIN32
 #include "vigra/windows.h"
+#elif defined(sun) || defined(__sun) || defined(__sun__)
+#include <unistd.h>
 #else
 #include <unistd.h>
 #include <sys/sysctl.h>