aboutsummaryrefslogtreecommitdiff
path: root/net/quagga/files/patch-lib-sockopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/quagga/files/patch-lib-sockopt.c')
-rw-r--r--net/quagga/files/patch-lib-sockopt.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/quagga/files/patch-lib-sockopt.c b/net/quagga/files/patch-lib-sockopt.c
new file mode 100644
index 000000000000..5995b3756e5f
--- /dev/null
+++ b/net/quagga/files/patch-lib-sockopt.c
@@ -0,0 +1,13 @@
+--- lib/sockopt.c.orig 2008-01-11 16:47:21.000000000 +0300
++++ lib/sockopt.c 2008-01-11 16:47:57.000000000 +0300
+@@ -23,6 +23,10 @@
+ #include "log.h"
+ #include "sockopt.h"
+
++#ifdef HAVE_STRUCT_IP_MREQN_IMR_IFINDEX
++#undef HAVE_STRUCT_IP_MREQN_IMR_IFINDEX
++#endif
++
+ int
+ setsockopt_so_recvbuf (int sock, int size)
+ {