Index: configure
--- configure.orig	2009-05-08 19:59:04 +0200
+++ configure	2009-05-13 11:24:53 +0200
@@ -9378,7 +9378,9 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 LIBS="-ldl  $LIBS"
+fi
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -9708,7 +9710,9 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
+if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 LIBS="-ldl  $LIBS"
+fi
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
Index: src/hash.c
--- src/hash.c.orig	2009-04-02 14:09:42 +0200
+++ src/hash.c	2009-05-13 11:24:53 +0200
@@ -60,7 +60,7 @@
  * hash table. 
  */
 HASH 
-new_hash( ssize_t size )
+new_hash( int size )
 {
   HASH this;
 
@@ -76,7 +76,7 @@
 }
 
 void
-hash_reset(HASH this, ssize_t size )
+hash_reset(HASH this, int size )
 {
   this->size    = 2;
   this->entries = 0;
Index: src/hash.h
--- src/hash.h.orig	2006-04-17 20:37:34 +0200
+++ src/hash.h	2009-05-13 11:24:53 +0200
@@ -29,7 +29,7 @@
 
 typedef struct HASH_T *HASH;
 
-HASH   new_hash(ssize_t size);
+HASH   new_hash(int size);
 void   hash_add(HASH this, char *key, char *value);
 char  *hash_get(HASH this, char *key);
 char **hash_get_keys(HASH this);
