> This patch enables older linux/btrfs.h where NULL is not
^^^
This was supposed to be newer, I'll come with patch v2
Andi
> recognized as a define. It gets rid of the following compiling
> error:
>
> In file included from ioctls/btrfs-control.c:5:0:
> /usr/include/linux/btrfs.h: In function ‘btrfs_err_str’:
> /usr/include/linux/btrfs.h:486:11: error: ‘NULL’ undeclared (first use in
> this function)
> return NULL;
> ^
>
> This is done by postponing the inclusion of btrf.h
>
> Signed-off-by: Andi Shyti <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html