$OpenBSD: patch-aclocal_m4,v 1.3 2005/05/16 17:44:02 robert Exp $
--- aclocal.m4.orig	Wed Dec 15 23:03:11 2004
+++ aclocal.m4	Mon May 16 18:15:06 2005
@@ -9664,6 +9664,8 @@ dnl Look for standard byte swapping macr
 AC_HAVE_SYMBOL(ntohl,arpa/inet.h,
  [cat >> "$1" << EOF
 /* ntohl and relatives live here */
+#include <sys/types.h>
+#include <netinet/in.h>
 #include <arpa/inet.h>
 
 EOF],
