hal: Branch 'master'
Danny Kukawka
dkukawka at kemper.freedesktop.org
Tue Jun 17 10:41:25 PDT 2008
partutil/partutil.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit ff92376cb29293c586e215ba37916d054e22c355
Author: Makoto Dei <makoto at turbolinux.co.jp>
Date: Tue Jun 17 19:41:07 2008 +0200
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.
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 <config.h>
+#endif
+
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
@@ -39,10 +43,6 @@
#include "partutil.h"
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
#ifdef USE_PARTED
#include <parted/parted.h>
More information about the hal-commit
mailing list