aboutsummaryrefslogtreecommitdiffstats
path: root/ioctl.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-06-10 02:21:42 +0200
committerDavid Sterba <dsterba@suse.cz>2015-06-10 02:52:21 +0200
commit250a58f34d57588de8f0b2f118cb5cd152744158 (patch)
treed5d1a7c094dd6a431bb9c389eac98993e89cf936 /ioctl.h
parent76a9be2e72e6634f4ca4b68dd2a9e00e6f48f26a (diff)
downloadbtrfs-progs-250a58f34d57588de8f0b2f118cb5cd152744158.tar.gz
btrfs-progs-250a58f34d57588de8f0b2f118cb5cd152744158.tar.xz
btrfs-progs-250a58f34d57588de8f0b2f118cb5cd152744158.zip
btrfs-progs: add missing includes to header files
Add includes that let the header files compile or add explicit include of kerncompat if the uXX types are used. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'ioctl.h')
-rw-r--r--ioctl.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/ioctl.h b/ioctl.h
index dfc4602..dff015a 100644
--- a/ioctl.h
+++ b/ioctl.h
@@ -19,14 +19,13 @@
#ifndef __BTRFS_IOCTL_H__
#define __BTRFS_IOCTL_H__
-#include <asm/types.h>
-#include <linux/ioctl.h>
-#include <time.h>
-
#ifdef __cplusplus
extern "C" {
#endif
+#include <asm/types.h>
+#include <linux/ioctl.h>
+
#ifndef __user
#define __user
#endif