aboutsummaryrefslogtreecommitdiff
path: root/include/linux/auto_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/auto_fs.h')
-rw-r--r--include/linux/auto_fs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/auto_fs.h b/include/linux/auto_fs.h
index c21e5972a3e..7b09c8348fd 100644
--- a/include/linux/auto_fs.h
+++ b/include/linux/auto_fs.h
@@ -14,13 +14,14 @@
#ifndef _LINUX_AUTO_FS_H
#define _LINUX_AUTO_FS_H
+#include <linux/types.h>
#ifdef __KERNEL__
#include <linux/fs.h>
#include <linux/limits.h>
-#include <asm/types.h>
-#endif /* __KERNEL__ */
-
#include <linux/ioctl.h>
+#else
+#include <sys/ioctl.h>
+#endif /* __KERNEL__ */
/* This file describes autofs v3 */
#define AUTOFS_PROTO_VERSION 3