--- a/src/libfreebobavc/avc_generic.cpp	2012-10-20 20:32:14.175379836 +0200
+++ b/src/libfreebobavc/avc_generic.cpp	2012-10-20 20:32:33.104379144 +0200
@@ -26,6 +26,7 @@
 #include <netinet/in.h>
 #include <cstring>
 #include <cstdio>
+#include <unistd.h>
 
 #define DEBUG_EXTRA_VERBOSE 2
 
