[klibc] [PATCH] Fix the build for utils/fstype.h

Bryan O'Sullivan bos at serpentine.com
Mon Apr 28 16:13:19 PDT 2003


Another post-2.5.68 one.  The cramfs header defines u8, so we must quiet
it down.

	<b

diff -Nru a/utils/fstype.c b/utils/fstype.c
--- a/utils/fstype.c	Mon Apr 28 15:10:56 2003
+++ b/utils/fstype.c	Mon Apr 28 15:10:56 2003
@@ -19,7 +19,9 @@
 #include <asm/byteorder.h>
 
 #include <linux/romfs_fs.h>
+#define __KERNEL__
 #include <linux/cramfs_fs.h>
+#undef __KERNEL__
 #include <linux/minix_fs.h>
 #include <linux/ext2_fs.h>
 #include "ext3_fs.h"





More information about the klibc mailing list