Index: mythgallery/mythgallery/iconview.cpp
===================================================================
--- mythgallery/mythgallery/iconview.cpp	(revision 19289)
+++ mythgallery/mythgallery/iconview.cpp	(working copy)
@@ -15,6 +15,9 @@
  *
  * ============================================================ */
 
+// POSIX headers
+# include <unistd.h> 
+ 
 // ANSI C headers
 #include <cmath>
 
