summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-26 17:42:29 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-09-27 09:35:56 +0300
commit83a496612c0bdfef14fe6dac2764f1c6226f394e (patch)
tree061959efff583eb54118e2201a302a6ada6ca8ad
parent9a070eae847df5052fab7692182e078d6c834b44 (diff)
recv_image: fix __USE_GNU hack
The __USE_GNU define is an internal define that source code should never be touching. So switch it to the proper exported _BSD_SOURCE define. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
-rw-r--r--recv_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/recv_image.c b/recv_image.c
index fb8e8b3..a3c3fd5 100644
--- a/recv_image.c
+++ b/recv_image.c
@@ -1,11 +1,11 @@
#define PROGRAM_NAME "recv_image"
#define _XOPEN_SOURCE 500
+#define _BSD_SOURCE /* struct ip_mreq */
#include <errno.h>
#include <error.h>
#include <stdio.h>
-#define __USE_GNU
#include <netdb.h>
#include <stdlib.h>
#include <string.h>