--- DirectFB-1.0.0-rc1~org/tools/mkdfiff.c	2006-10-12 13:45:50.000000000 -0400
+++ DirectFB-1.0.0-rc1/tools/mkdfiff.c	2006-10-12 13:57:38.000000000 -0400
@@ -15,6 +15,8 @@
 
 #include <dfiff.h>
 
+#include <unistd.h>
+
 static DirectFBPixelFormatNames( format_names );
 
 static const char            *filename;