Index: libcitadel-1.08/lib/hash.c
--- libcitadel-1.08/lib/hash.c.orig	2008-01-31 20:09:42 +0100
+++ libcitadel-1.08/lib/hash.c	2008-02-13 20:08:10 +0100
@@ -3,6 +3,7 @@
 #include <string.h>
 //dbg
 #include <stdio.h>
+#include <time.h>
 #include "libcitadel.h"
 #include "lookup3.h"
 
Index: sysdep.c
--- sysdep.c.orig	2008-02-12 18:31:58 +0100
+++ sysdep.c	2008-02-13 19:25:36 +0100
@@ -271,6 +271,9 @@
 	memset(&sin, 0, sizeof(sin));
 	sin.sin_family = AF_INET;
 	sin.sin_port = htons((u_short)port_number);
+#ifndef INADDR_NONE
+#define INADDR_NONE 0xffffffff
+#endif
 	if (ip_addr == NULL) {
 		sin.sin_addr.s_addr = INADDR_ANY;
 	}
