[PATCH master 03/13] tee: shm: include missing header for basprintf
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Oct 14 04:39:02 PDT 2024
Compile test under sandbox fails, because basprintf isn't defined.
Include the relevant header to fix this, even if TEE is in the end not
usable on that architecture (yet?).
Reported-by: Abdelrahman Youssef <abdelrahmanyossef12 at gmail.com>
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
drivers/tee/tee_shm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/tee/tee_shm.c b/drivers/tee/tee_shm.c
index ea16c9cdd2e5..9952608435f6 100644
--- a/drivers/tee/tee_shm.c
+++ b/drivers/tee/tee_shm.c
@@ -11,6 +11,7 @@
#include <linux/uaccess.h>
#include <linux/sizes.h>
#include <fcntl.h>
+#include <stdio.h>
#include "tee_private.h"
static void tee_shm_release(struct tee_device *teedev, struct tee_shm *shm)
--
2.39.5
More information about the barebox
mailing list