mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-23 10:10:00 +00:00
f2fs-tools: use proper 64bit types for PPC
commit 46e1b83398523332521899b6bc88baeb9c8c3f91 category: bugfix issue: #I6VAS0 CVE: NA Signed-off-by: DongSenhao <dongsenhao2@huawei.com> --------------------------------------- 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> Signed-off-by: dongsenhao <dongsenhao2@huawei.com>
This commit is contained in:
parent
01d4637451
commit
de642e2612
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user