[PATCH 13/14] kbuild: include limits.h in sumversion.c for PATH_MAX
>From 72c04ee8e763e6acb3494be17c68b40ac3f699f4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger <[EMAIL PROTECTED]> Date: Thu, 17 May 2007 14:57:20 -0400 Subject: [PATCH 13/14] kbuild: include limits.h in sumversion.c for PATH_MAX POSIX says limits.h defines PATH_MAX so we should include it (which fixes compiling on some systems like OS X). Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> Signed-off-by: Sam Ravnborg <[EMAIL PROTECTED]> --- scripts/mod/sumversion.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scripts/mod/sumversion.c b/scripts/mod/sumversion.c index 6873d5a..d9cc690 100644 --- a/scripts/mod/sumversion.c +++ b/scripts/mod/sumversion.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "modpost.h" /* -- 1.5.1.rc3.20.gaa453 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 13/14] kbuild: include limits.h in sumversion.c for PATH_MAX
From 72c04ee8e763e6acb3494be17c68b40ac3f699f4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger [EMAIL PROTECTED] Date: Thu, 17 May 2007 14:57:20 -0400 Subject: [PATCH 13/14] kbuild: include limits.h in sumversion.c for PATH_MAX POSIX says limits.h defines PATH_MAX so we should include it (which fixes compiling on some systems like OS X). Signed-off-by: Mike Frysinger [EMAIL PROTECTED] Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- scripts/mod/sumversion.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scripts/mod/sumversion.c b/scripts/mod/sumversion.c index 6873d5a..d9cc690 100644 --- a/scripts/mod/sumversion.c +++ b/scripts/mod/sumversion.c @@ -7,6 +7,7 @@ #include ctype.h #include errno.h #include string.h +#include limits.h #include modpost.h /* -- 1.5.1.rc3.20.gaa453 - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/