From b3dc9dac9328f05988a4c8ada886932e59d72e06 Mon Sep 17 00:00:00 2001 From: Makoto Dei Date: Tue, 17 Jun 2008 19:41:07 +0200 Subject: [PATCH 04/48] include config.h before any other headers Include config.h before any other headers in partutil.c otherwise, for example, _FILE_OFFSET_BITS defined in config.h does not affect these headers. --- partutil/partutil.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/partutil/partutil.c b/partutil/partutil.c index 9c2930f..42280af 100644 --- a/partutil/partutil.c +++ b/partutil/partutil.c @@ -21,6 +21,10 @@ * **************************************************************************/ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include #include @@ -39,10 +43,6 @@ #include "partutil.h" -#ifdef HAVE_CONFIG_H -# include -#endif - #ifdef USE_PARTED #include -- 1.6.1.2