Index: src/keyserver.c
--- src/keyserver.c.orig	2003-10-31 08:11:48.000000000 +0100
+++ src/keyserver.c	2003-11-03 09:45:20.000000000 +0100
@@ -24,6 +24,7 @@
 #endif
 #include <stdio.h>
 #ifdef HAVE_NETDB_H
+# include <sys/types.h>
 # include <sys/socket.h>
 # include <netinet/in.h>
 # include <arpa/inet.h>
