$OpenBSD: patch-src_updatecheck_c,v 1.1.1.1 2010/11/08 20:08:55 kili Exp $
--- src/updatecheck.c.orig	Sun Oct 24 09:18:22 2010
+++ src/updatecheck.c	Sun Nov  7 14:53:04 2010
@@ -33,7 +33,10 @@
 #include <string.h>
 
 #ifndef WIN32
+#   include <sys/types.h>
 #   include <sys/socket.h>
+#   include <netinet/in.h>
+#   include <arpa/inet.h>
 #   include <sys/time.h>
 #   include <netdb.h>
 #   include <unistd.h>
