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>
#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>