diff -drupN a/scripts/dtc/util.h b/scripts/dtc/util.h --- a/scripts/dtc/util.h 2018-08-06 17:23:04.000000000 +0300 +++ b/scripts/dtc/util.h 2022-06-12 05:28:14.000000000 +0300 @@ -59,6 +59,7 @@ static inline void *xrealloc(void *p, si } extern char *xstrdup(const char *s); +extern int xasprintf(char **strp, const char *fmt, ...); extern char *join_path(const char *path, const char *name); /**