[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Mon May 7 15:05:41 UTC 2007


 parted/parted.c |    1 +
 1 files changed, 1 insertion(+)

New commits:
commit 6008ff8125e2a4612cece18cea4808a89eb3f911
Author: Jim Meyering <jim at meyering.net>
Date:   Mon May 7 16:38:00 2007 +0200

    Avoid "make distcheck" failure, with newer system headers.
    * parted/parted.c: Include <limits.h>, for use of CHAR_MAX.

diff --git a/parted/parted.c b/parted/parted.c
index 3c4aedd..13b7ced 100644
--- a/parted/parted.c
+++ b/parted/parted.c
@@ -50,6 +50,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <limits.h>
 
 #ifdef ENABLE_MTRACE
 #include <mcheck.h>



More information about the Parted-commits mailing list