-----BEGIN PGP SIGNED MESSAGE-----
On Sat, 23 Mar 1996, Chris Evans wrote:
>
> I've having slight trouble compiling the latest quota utilities, 1.51,
> under linux-1.3.77.
>
> /usr/include/linux/mount.h:15: parse error before `kdev_t'
> /usr/include/linux/mount.h:15: warning: no semicolon at end of struct or union
> /usr/include/linux/mount.h:25: parse error before `}'
> /usr/include/linux/mount.h:27: parse error before `dev'
Here is the necessary patch:
- --- mount.h.old Tue Feb 20 00:05:46 1996
+++ mount.h Mon Feb 19 22:39:15 1996
@@ -11,6 +11,13 @@
#ifndef _LINUX_MOUNT_H
#define _LINUX_MOUNT_H
+#ifndef __KERNEL__
+#define __KERNEL__
+#include <linux/kdev_t.h>
+#include <linux/wait.h>
+#undef __KERNEL__
+#endif
+
struct vfsmount
{
kdev_t mnt_dev; /* Device this applies to */
Hope this helps.
B
- ---------------------------------------------------------------------------
Brian R. Doherty | "You know, I bet a funny thing about driving a
6320 S. Main St. | car off a cliff is, while you're in midair, you
Houston, TX 77006 | still hit those brakes! Hey, better try the
doherty@rice.edu | emergency brake!" -- Jack Handey
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMVOU3Wr8tJOG0vRxAQE20QP/Q35nxz4WThLMiYnLxk8UNq3zByHjnMXF
usucdHODVDp88YgPURQHkn2vS87WZf0EqtWg0T27gcCCvNASdBRaWnNhOUz+G25V
DeUrvOTem0UVAqjx6FnEJroqr9z1kp/YWA+ly5ORFOszXYdchst1tVUyHxOWvDIH
LtKS3LcLa+o=
=5MR9
-----END PGP SIGNATURE-----