openbsd-ports/www/transproxy/patches/patch-tproxy.c
2000-10-05 21:48:41 +00:00

16 lines
383 B
C

--- tproxy.c.orig Sun Oct 1 03:59:31 2000
+++ tproxy.c Tue Oct 3 09:38:54 2000
@@ -44,7 +44,11 @@
# include <netinet/ip.h>
# include <netinet/tcp.h>
# include <net/if.h>
-# include <netinet/ip_compat.h>
+#ifdef __OpenBSD__
+# include <netinet/ip_fil_compat.h>
+#else
+# include <netinet/ip_compat.h>
+#endif
# include <netinet/ip_fil.h>
# include <netinet/ip_nat.h>
#endif