summaryrefslogtreecommitdiff
path: root/btrfs-list.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 /btrfs-list.h
parent76a9be2e72e6634f4ca4b68dd2a9e00e6f48f26a (diff)
downloadbtrfs-progs-250a58f34d57588de8f0b2f118cb5cd152744158.tar.gz
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 'btrfs-list.h')
-rw-r--r--btrfs-list.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/btrfs-list.h b/btrfs-list.h
index 4b21300..13f44c3 100644
--- a/btrfs-list.h
+++ b/btrfs-list.h
@@ -21,10 +21,16 @@
#if BTRFS_FLAT_INCLUDES
#include "kerncompat.h"
+#include "rbtree.h"
+#include "ioctl.h"
#else
#include <btrfs/kerncompat.h>
+#include <btrfs/rbtree.h>
+#include <btrfs/ioctl.h>
#endif /* BTRFS_FLAT_INCLUDES */
+#include <time.h>
+
#define BTRFS_LIST_LAYOUT_DEFAULT 0
#define BTRFS_LIST_LAYOUT_TABLE 1
#define BTRFS_LIST_LAYOUT_RAW 2