--- davfs2-1.4.7.orig/src/dav_fuse.c	2012-07-19 13:18:51.000000000 +0200
+++ davfs2-1.4.7/src/dav_fuse.c	2014-01-01 20:02:55.000000000 +0100
@@ -48,6 +48,8 @@
 #include <sys/stat.h>
 #endif
 
+#include <sys/select.h>
+
 #include "defaults.h"
 #include "mount_davfs.h"
 #include "cache.h"