aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>