include stdint.h where mtd/mtd-user.h is included
PATCH 1/1 include stdint.h where mtd/mtd-user.h is included
Since linux 4.4 mtd/mtd-user.h does not include stdint.h any more, so it has to be included explicitly.
See commit 137d36af4a53858b8db7ca83c8480247118b8bdf of the linux kernel.
Signed-off-by Gerhard Heift <[email protected]>
--- tools/env/fw_env.c | 1 + tools/palmtreo680/flash_u-boot.c | 1 + 2 files changed, 2 insertions(+)
tools/env/fw_env.c +1 -0
@@ -29,6 +29,7 @@# include <linux/mtd/mtd.h> #else # define __user/* nothing */ +# include <stdint.h> # include <mtd/mtd-user.h> #endif
tools/palmtreo680/flash_u-boot.c +1 -0
@@ -28,6 +28,7 @@#include <sys/types.h> #include <unistd.h> #include <errno.h> +#include <stdint.h> #include <mtd/mtd-user.h> #include "libmtd.h"
Signature · 1 line
2.7.0.rc3