summaryrefslogtreecommitdiffstats
path: root/scripts/mod
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-05-17 14:57:20 -0400
committerSam Ravnborg <sam@ravnborg.org>2007-05-19 09:10:59 +0200
commitfc31c7716355a226b8ed4e16f4581e5c8fa53570 (patch)
tree97140d9efd453c4c53d4a8dc66a979fd8e9e400d /scripts/mod
parentd1ab423502e787e264b4797a5fa200d804c4fd63 (diff)
downloadkernel-crypto-fc31c7716355a226b8ed4e16f4581e5c8fa53570.tar.gz
kernel-crypto-fc31c7716355a226b8ed4e16f4581e5c8fa53570.tar.xz
kernel-crypto-fc31c7716355a226b8ed4e16f4581e5c8fa53570.zip
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 <vapier@gentoo.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/mod')
-rw-r--r--scripts/mod/sumversion.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mod/sumversion.c b/scripts/mod/sumversion.c
index 6873d5af80d..d9cc6901d68 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"
/*