debian:/usr/src/linux# make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/
mkdep.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:122,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/syslimits.h:7,
from /usr/lib/gcc-lib/i486-linux/3.3.5/include/limits.h:11,
from scripts/mkdep.c:35:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
scripts/mkdep.c: In function `add_path':
scripts/mkdep.c:221: error: `PATH_MAX' undeclared (first use in this function)
scripts/mkdep.c:221: error: (Each undeclared identifier is reported only once
scripts/mkdep.c:221: error: for each function it appears in.)
scripts/mkdep.c:221: warning: unused variable `resolved_path'
make: *** [scripts/mkdep] Error 1