$OpenBSD: patch-src_mime-type_mime-type_c,v 1.1 2010/07/16 13:15:19 ajacoutot Exp $
--- src/mime-type/mime-type.c.orig	Fri Jul 16 15:02:43 2010
+++ src/mime-type/mime-type.c	Fri Jul 16 15:03:08 2010
@@ -33,6 +33,7 @@
 #include <fcntl.h>
 #include <sys/stat.h>
 #include <sys/types.h>
+#include <unistd.h>
 
 /*
  * FIXME:
