Index: configure
--- configure.orig	2004-05-08 04:24:24 +0200
+++ configure	2004-07-07 12:32:02 +0200
@@ -19705,7 +19705,7 @@
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
-#include <zlib.h>
+#include "zlib.h"
          #include <string.h>
          void main() {
            exit(strcmp(ZLIB_VERSION, "${ZLIB_VER}") < 0);
@@ -20179,7 +20179,7 @@
 echo "${ECHO_T}$found_libdb" >&6
       CFLAGS="$ac_save_CFLAGS"
       LIBS="$ac_save_LIBS"
-      if test x$found_libdb == xyes; then break; fi
+      if test x$found_libdb = xyes; then break; fi
     done
   use_libdb=$found_libdb
 else
Index: src/ft_openft.h
--- src/ft_openft.h.orig	2004-08-06 04:01:54.000000000 +0200
+++ src/ft_openft.h	2005-02-18 13:35:13.048745268 +0100
@@ -157,4 +157,8 @@
 
 /*****************************************************************************/
 
+#ifndef INADDR_NONE
+#define INADDR_NONE 0xffffffffUL
+#endif
+
 #endif /* __FT_OPENFT_H */
