[parted-devel] [PATCH] Avoid "make distcheck" failure,
with newer system headers.
Jim Meyering
jim at meyering.net
Mon May 7 14:39:52 UTC 2007
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 <jim at meyering.net>
---
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>
More information about the parted-devel
mailing list