Index: md5.c
--- md5.c.orig	2005-09-25 20:16:36 +0200
+++ md5.c	2005-09-25 20:17:19 +0200
@@ -30,8 +30,12 @@
 # include "config.h"
 #endif
 
+#ifdef HAVE_SYS_TYPES_H
+# include "sys/types.h"
+#endif 
 #include "md5.h"
 
+
 #ifndef HAVE_EXTERNAL_MD5
 
 #ifdef HAVE_STRING_H
Index: sipsak.h
--- sipsak.h.orig	2005-09-22 02:48:38 +0200
+++ sipsak.h	2005-09-25 19:58:24 +0200
@@ -75,6 +75,14 @@
 # define REG_NOERROR 0
 #endif
 
+#if defined (__SVR4) && defined (__sun)
+#include <signal.h>
+#endif
+
+#ifdef HAVE_NETDB_H
+#include <netdb.h>
+#endif
+
 #ifdef HAVE_SYS_PARAM_H
 # ifdef MAXHOSTNAMELEN
 #  define FQDN_SIZE   MAXHOSTNAMELEN + 1
