diff --git a/libbtrfsutil/btrfsutil_internal.h b/libbtrfsutil/btrfsutil_internal.h index 73bef04e..fbe4a6e5 100644 --- a/libbtrfsutil/btrfsutil_internal.h +++ b/libbtrfsutil/btrfsutil_internal.h @@ -22,6 +22,8 @@ #include #include +#include +#include #include "btrfsutil.h" #include "btrfs.h" diff --git a/libbtrfsutil/filesystem.c b/libbtrfsutil/filesystem.c index 07fa9c5f..e4c65e24 100644 --- a/libbtrfsutil/filesystem.c +++ b/libbtrfsutil/filesystem.c @@ -17,9 +17,9 @@ * along with libbtrfsutil. If not, see . */ -#include +#include +#include #include -#include #include #include "btrfsutil_internal.h" diff --git a/libbtrfsutil/qgroup.c b/libbtrfsutil/qgroup.c index d93d0495..c518cb63 100644 --- a/libbtrfsutil/qgroup.c +++ b/libbtrfsutil/qgroup.c @@ -18,9 +18,8 @@ */ #include -#include #include -#include +#include #include "btrfsutil_internal.h" diff --git a/libbtrfsutil/stubs.h b/libbtrfsutil/stubs.h index b4f23895..e0023f7d 100644 --- a/libbtrfsutil/stubs.h +++ b/libbtrfsutil/stubs.h @@ -17,6 +17,8 @@ #ifndef _LIBBTRFSUTIL_STUBS_H_ +#include + void *reallocarray(void *ptr, size_t nmemb, size_t size); #endif diff --git a/libbtrfsutil/subvolume.c b/libbtrfsutil/subvolume.c index deff6de7..d6efd5c1 100644 --- a/libbtrfsutil/subvolume.c +++ b/libbtrfsutil/subvolume.c @@ -17,16 +17,17 @@ * along with libbtrfsutil. If not, see . */ +#include +#include +#include +#include #include #include #include #include #include -#include -#include -#include -#include -#include +#include +#include #include "stubs.h" #include "btrfsutil_internal.h"