linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux NTFS driver won't compile on 2.4.9
@ 2001-08-20 13:18 Heikki Pernu
  0 siblings, 0 replies; only message in thread
From: Heikki Pernu @ 2001-08-20 13:18 UTC (permalink / raw)
  To: linux-ntfs, linux-kernel; +Cc: heikki.pernu


	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"




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-20 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-20 13:18 Linux NTFS driver won't compile on 2.4.9 Heikki Pernu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).