summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-02-23 22:28:36 +0900
committerDavid Woodhouse <dwmw2@infradead.org>2008-02-23 22:28:36 +0900
commit7afca4241e082c23bb38a4da532cc222457ae719 (patch)
treeb90598761dea0b6d29c0c82e05c58d690675bfa2
parent16c9ddd2a6841654e8f61beb77b4d03b49d62495 (diff)
downloadmtd-utils-origin.tar.gz
Fix recv_image compilation with new glibcorigin
struct ip_mreq is hidden behind __USE_MISC now
-rw-r--r--recv_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/recv_image.c b/recv_image.c
index 028635a..3b79304 100644
--- a/recv_image.c
+++ b/recv_image.c
@@ -1,5 +1,6 @@
#define _XOPEN_SOURCE 500
+#define _USE_MISC
#include <errno.h>
#include <error.h>