btrfs-progs: alias btrfs device delete to btrfs device remove
[platform/upstream/btrfs-progs.git] / btrfs-list.h
index ee2aea5..13f44c3 100644 (file)
  * Boston, MA 021110-1307, USA.
  */
 
+#ifndef __BTRFS_LIST_H__
+#define __BTRFS_LIST_H__
+
 #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
@@ -165,3 +174,5 @@ int btrfs_list_get_default_subvolume(int fd, u64 *default_id);
 char *btrfs_list_path_for_root(int fd, u64 root);
 int btrfs_list_get_path_rootid(int fd, u64 *treeid);
 int btrfs_get_subvol(int fd, struct root_info *the_ri);
+
+#endif