summaryrefslogtreecommitdiffstats
path: root/include/linux/smb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/smb.h')
-rw-r--r--include/linux/smb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/smb.h b/include/linux/smb.h
index caa43b2370cb..82fefddc5987 100644
--- a/include/linux/smb.h
+++ b/include/linux/smb.h
@@ -11,7 +11,9 @@
#include <linux/types.h>
#include <linux/magic.h>
+#ifdef __KERNEL__
#include <linux/time.h>
+#endif
enum smb_protocol {
SMB_PROTOCOL_NONE,