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 23:03:36 +0900
commite6088d987c545d60a86e1f44836ab8ba072fffd9 (patch)
tree6791c92f9ba1af262111522ba9856fcdc464ed61
parent28686857636735d671b541f9266c918f78457456 (diff)
Fix recv_image compilation with new glibc
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>