Skip to content

Commit

Permalink
kbuild: include limits.h in sumversion.c for PATH_MAX
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
vapier authored and sravnborg committed May 19, 2007
1 parent d1ab423 commit fc31c77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/mod/sumversion.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <ctype.h>
#include <errno.h>
#include <string.h>
#include <limits.h>
#include "modpost.h"

/*
Expand Down

0 comments on commit fc31c77

Please sign in to comment.