$NetBSD$

--- ftpfs.h.orig	2007-03-02 00:47:07.000000000 +0100
+++ ftpfs.h	2010-01-08 22:36:58.256798187 +0100
@@ -14,6 +14,7 @@
 #include <pthread.h>
 #include <glib.h>
 #include <pthread.h>
+#include <limits.h>
 
 struct ftpfs {
   char* host;
