Fixing error in compiling kernel 2.4.9


There seems to be an error in kernel 2.4.9. fs/ntfs/unistr.c. NTFS-code.

Symptoms

fs/ntfs/unistr.c does not compile

Cause

Macros min/max have been moved to another header (kernel.h)

Resolution

Add #include <linux/kernel.h> to file fs/ntfs/unistr.c.
Links:
http://marc.theaimsgroup.com/?l=linux-kernel&m=99848308430458&w=2
Author Per-Olof Pettersson