--- transport.hxx.orig	2008-10-19 12:50:57.000000000 +0200
+++ transport.hxx	2008-10-19 12:51:13.000000000 +0200
@@ -16,6 +16,7 @@
 #include <fcntl.h>
 #include <poll.h>
 #include <sys/time.h>
+#include <limits.h>
 
 inline long getmsecs()
 { struct timeval tv;
