$OpenBSD: patch-modules_ipops_ipops_mod_c,v 1.1 2012/04/22 21:44:24 sthen Exp $
--- modules/ipops/ipops_mod.c.orig	Sun Apr 22 22:26:19 2012
+++ modules/ipops/ipops_mod.c	Sun Apr 22 22:26:33 2012
@@ -37,6 +37,9 @@
  * The ipops module provide IPv4 and IPv6 operations.
  */
 
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
