From 14817fd460bd1ec65c69a64fc4300d0ba8ac67c2 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 27 Aug 2007 13:01:18 +0000 Subject: include stage1.h earlier so that _GNU_SOURCE and strndup are defined --- mdk-stage1/network.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mdk-stage1/network.c') 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 -/* define _GNU_SOURCE so strndup is available */ -#define _GNU_SOURCE #include #include #include @@ -35,7 +35,6 @@ #include #include -#include "stage1.h" #include "frontend.h" #include "modules.h" #include "probing.h" -- cgit v1.2.1