From f46306945c95adc9a6232ce86f908f2a51a771dd Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 6 May 2005 06:30:51 +0000 Subject: Stage 1 compilation fixes for gcc 4.0 : * more casts signed<->unsigned types * make choose_iso_in_directory()'s return type "void" * change order of .h files in network.c so strndup is included correctly * newt: initialize some variables properly * compile pcmcia and ppp with -Wno-deprecated-declarations, since they use deprecated types such as u_int32_t --- mdk-stage1/config-stage1.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mdk-stage1/config-stage1.h') diff --git a/mdk-stage1/config-stage1.h b/mdk-stage1/config-stage1.h index 99d773d67..3fd918ec7 100644 --- a/mdk-stage1/config-stage1.h +++ b/mdk-stage1/config-stage1.h @@ -15,6 +15,9 @@ #ifndef _CONFIG_STAGE1_H_ #define _CONFIG_STAGE1_H_ +#ifdef _GNU_SOURCE +# undef _GNU_SOURCE +#endif #define _GNU_SOURCE 1 -- cgit v1.2.1