$OpenBSD: patch-src_dyndns_c,v 1.1.1.1 2011/07/21 12:17:02 pea Exp $
--- src/dyndns.c.orig	Fri May  6 13:04:10 2011
+++ src/dyndns.c	Fri May  6 13:04:55 2011
@@ -19,11 +19,13 @@
  */
 
 #define MODULE_TAG ""
-#include <resolv.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/time.h>
 #include <sys/types.h>
+#include <netinet/in.h>
+#include <arpa/nameser.h>
+#include <resolv.h>
 #include <sys/stat.h>
 #include <time.h>
 
