haproxy/haproxy-gcc43-compat.patch

21 lines
667 B
Diff
Raw Normal View History

2008-03-01 20:28:08 +00:00
diff -ru haproxy-1.3.14.2.orig/include/common/compat.h haproxy-1.3.14.2/include/common/compat.h
--- haproxy-1.3.14.2.orig/include/common/compat.h 2008-01-20 16:06:34.000000000 -0700
+++ haproxy-1.3.14.2/include/common/compat.h 2008-02-26 08:47:47.000000000 -0700
@@ -35,6 +35,7 @@
#include <sys/socket.h>
#include <sys/types.h>
#include <common/config.h>
+#include <common/standard.h>
/* INTBITS
* how many bits are needed to code the size of an int on the target platform.
@@ -63,6 +64,8 @@
#endif
#if defined(TPROXY) && defined(NETFILTER)
+#include <linux/types.h>
+#include <linux/netfilter_ipv6.h>
#include <linux/netfilter_ipv4.h>
#endif