summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/network.c')
-rw-r--r--mdk-stage1/network.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 6959fcbc8..8c70e4437 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -19,9 +19,9 @@
*
*/
+#include "stage1.h"
+
#include <stdlib.h>
-/* define _GNU_SOURCE so strndup is available */
-#define _GNU_SOURCE
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
@@ -35,7 +35,6 @@
#include <resolv.h>
#include <sys/utsname.h>
-#include "stage1.h"
#include "frontend.h"
#include "modules.h"
#include "probing.h"