summaryrefslogtreecommitdiff
path: root/btrfs-list.h
diff options
context:
space:
mode:
Diffstat (limited to 'btrfs-list.h')
-rw-r--r--btrfs-list.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/btrfs-list.h b/btrfs-list.h
index ee2aea54..4b213008 100644
--- a/btrfs-list.h
+++ b/btrfs-list.h
@@ -16,6 +16,9 @@
* Boston, MA 021110-1307, USA.
*/
+#ifndef __BTRFS_LIST_H__
+#define __BTRFS_LIST_H__
+
#if BTRFS_FLAT_INCLUDES
#include "kerncompat.h"
#else
@@ -165,3 +168,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