summaryrefslogtreecommitdiff
path: root/package/mtd-utils/patches/patch-misc-utils_recv_image_c
blob: ab07ab59ad3df75de579a545d2c5713424e40ab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- mtd-utils-2.0.0.orig/misc-utils/recv_image.c	2016-07-12 14:16:45.000000000 +0200
+++ mtd-utils-2.0.0/misc-utils/recv_image.c	2017-04-26 09:06:48.000000000 +0200
@@ -4,6 +4,10 @@
 #define _BSD_SOURCE	/* struct ip_mreq */
 #define _DEFAULT_SOURCE
 
+#ifndef IPV6_ADD_MEMBERSHIP
+#define IPV6_ADD_MEMBERSHIP	20
+#endif
+
 #include <errno.h>
 #include <stdio.h>
 #include <netdb.h>