f2fs-tools: use proper 64bit types for PPC

A specific define is needed. Fixes mostly issues with -Wformat.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
Rosen Penev 2022-02-28 22:25:03 -08:00 committed by Jaegeuk Kim
parent 97ce230ab6
commit 46e1b83398

View File

@ -41,6 +41,9 @@
#include <inttypes.h>
#ifdef HAVE_LINUX_TYPES_H
#ifndef __SANE_USERSPACE_TYPES__
#define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
#endif
#include <linux/types.h>
#endif
#include <sys/types.h>