[patch-2.3.52-pre1] small bug in <linux/fs.h>

From: Tigran Aivazian (tigran@sco.COM)
Date: Mon Mar 13 2000 - 09:56:19 EST


Hi Linus,

Someone forgot that <linux/string.h> is not for public consumption but for
kernel only. This broke compilation
of util-linux-2.10f/disk-utils/blockdev.c. Here is the patch that
surrounds <linux/string.h> with __KERNEL__ in <linux/fs.h>

Regards,
------
Tigran A. Aivazian | http://www.sco.com
Escalations Research Group | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd | http://www.ocston.org/~tigran

--- fs.h.0 Mon Mar 13 12:46:55 2000
+++ fs.h Mon Mar 13 12:47:06 2000
@@ -20,7 +20,10 @@
 #include <linux/stat.h>
 #include <linux/cache.h>
 #include <linux/stddef.h>
+
+#ifdef __KERNEL__
 #include <linux/string.h>
+#endif
 
 #include <asm/atomic.h>
 #include <asm/bitops.h>

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



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:25 EST