diff -Naur cryptkeeper-0.9.5.orig/src/lsof.cpp cryptkeeper-0.9.5/src/lsof.cpp
--- cryptkeeper-0.9.5.orig/src/lsof.cpp	2009-10-18 13:47:13.000000000 +0200
+++ cryptkeeper-0.9.5/src/lsof.cpp	2012-09-16 23:00:05.465985217 +0200
@@ -17,6 +17,7 @@
  */
 #include <stdlib.h>
 #include <stdio.h>
+#include <unistd.h>
 #include <string>
 #include <vector>
 #include <assert.h>