lkml.org 
[lkml]   [2001]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From

On official 2.4.9 kernel the included NTFS driver doesn't compile.
The problem was that unistr.c was using min macro without
it being defined.

The quick fix is to include linux/kernel.h which
defines this macro.

Please, apply this to stock kernel ASAP!
The official kernel is now broken.

Here is the patch:
Index: linux/fs/ntfs/unistr.c
===================================================================
RCS file: /usr/local/CVSroot/linux-2.4/fs/ntfs/unistr.c,v
retrieving revision 2.4
diff -c -r2.4 unistr.c
*** linux/fs/ntfs/unistr.c 2001/08/19 17:08:19 2.4
--- linux/fs/ntfs/unistr.c 2001/08/20 13:02:46
***************
*** 23,28 ****
--- 23,29 ----

#include <linux/string.h>
#include <asm/byteorder.h>
+ #include <linux/kernel.h>

#include "unistr.h"
#include "macros.h"



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.029 / U:1.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site