aboutsummaryrefslogtreecommitdiffstats
path: root/utils.h
diff options
context:
space:
mode:
authorOndrej Kozina <okozina@redhat.com>2016-03-04 14:46:11 +0100
committerDavid Sterba <dsterba@suse.com>2016-03-14 13:42:47 +0100
commit5d23b6a7b0adfbeea78cd15e2257fc1859aed444 (patch)
treecd7648edb42c6311b886a9a797a1d36b74db236c /utils.h
parent1e8246a0582bfbe34045a6dc665396f327b82d1f (diff)
downloadbtrfs-progs-5d23b6a7b0adfbeea78cd15e2257fc1859aed444.tar.gz
btrfs-progs-5d23b6a7b0adfbeea78cd15e2257fc1859aed444.tar.xz
btrfs-progs-5d23b6a7b0adfbeea78cd15e2257fc1859aed444.zip
btrfs-progs: libbtrfs: remove max/min macros from API
kerncompat.h header file is part of libbtrfs API. min/max macros cause conflict while building projects dependant on libbtrfs. Moving those macros to btrfs-progs internal header file fixes the conflict. Signed-off-by: Ondrej Kozina <okozina@redhat.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index d53357a..a4e55bf 100644
--- a/utils.h
+++ b/utils.h
@@ -23,6 +23,7 @@
#include "ctree.h"
#include <dirent.h>
#include <stdarg.h>
+#include "internal.h"
#define BTRFS_MKFS_SYSTEM_GROUP_SIZE (4 * 1024 * 1024)
#define BTRFS_MKFS_SMALL_VOLUME_SIZE (1024 * 1024 * 1024)