--- afpfs-ng-0.8.1.orig/include/afpfs-ng/libafpclient.h
+++ afpfs-ng-0.8.1/include/afpfs-ng/libafpclient.h
@@ -2,6 +2,7 @@
 #ifndef __CLIENT_H_
 #define __CLIENT_H_
 
+#include <sys/select.h>
 #include <unistd.h>
 #include <syslog.h>
 
