On Fri, 2009-01-09 at 13:47 -0500, Valerie Aurora Henson wrote: > If installed, <linux/string.h> just includes the user-level > string.h. If it's not installed, the compile fails.
Right. This include file is also used by the kernel and I'd like to keep them the same. Maybe we need some #ifdef __KERNEL__ here as I think include <string.h> will fail during a kernel build. Or maybe we need to move the include to fs/autofs4/dev-ioctl.c as I don't use any str* functions in the include file any more. > > From: Paul Wankadia <jun...@google.com> > Signed-off-by: Valerie Aurora Henson <vaur...@redhat.com> > --- > include/linux/auto_dev-ioctl.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/linux/auto_dev-ioctl.h b/include/linux/auto_dev-ioctl.h > index 91a7739..78f4b47 100644 > --- a/include/linux/auto_dev-ioctl.h > +++ b/include/linux/auto_dev-ioctl.h > @@ -10,7 +10,7 @@ > #ifndef _LINUX_AUTO_DEV_IOCTL_H > #define _LINUX_AUTO_DEV_IOCTL_H > > -#include <linux/string.h> > +#include <string.h> > #include <linux/types.h> > > #define AUTOFS_DEVICE_NAME "autofs" _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs