--- taskd-1.0.0/src/Directory.cpp
+++ taskd-1.0.0/src/Directory.cpp.changed
@@ -34,6 +34,7 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <Directory.h>
+#include <limits.h>
 
 #ifdef SOLARIS
 #include <limits.h>
