1 Jul 2005 12:54
[PATCH] include mount.h instead of include linux/fs.h
Kay Sievers <kay.sievers <at> vrfy.org>
2005-07-01 10:54:13 GMT
2005-07-01 10:54:13 GMT
This should fix pgoff_t no defined with some linux headers. Ok to commit? Thanks, Kay
Index: configure.in
===================================================================
RCS file: /cvs/hal/hal/configure.in,v
retrieving revision 1.87
diff -u -r1.87 configure.in
--- configure.in 29 Jun 2005 20:21:04 -0000 1.87
+++ configure.in 1 Jul 2005 10:27:38 -0000
<at> <at> -294,8 +294,7 <at> <at>
AC_MSG_CHECKING(for BLKGETSIZE64)
AC_TRY_COMPILE(
[#include <sys/types.h>
-#include <linux/ioctl.h>
-#include <linux/fs.h>],
+#include <sys/mount.h>],
[int main(int argc, char *argv[])
{
int fd = 0;
Index: hald/linux2/addons/addon-storage.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/addons/addon-storage.c,v
retrieving revision 1.6
diff -u -r1.6 addon-storage.c
(Continue reading)
RSS Feed