Today, I noticed "make distcheck" failing on a Linux system with
slightly newer system headers.  Here's the patch I'll commit:

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

Signed-off-by: Jim Meyering <[EMAIL PROTECTED]>
---
 parted/parted.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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>

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to