Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
22 lines
389 B
Diff
22 lines
389 B
Diff
--- a/tools/fiptool/fiptool.c
|
|
+++ b/tools/fiptool/fiptool.c
|
|
@@ -3,7 +3,7 @@
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
-
|
|
+#define _DARWIN_C_SOURCE
|
|
#ifndef _MSC_VER
|
|
#include <sys/mount.h>
|
|
#endif
|
|
@@ -18,6 +18,9 @@
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
+#include <unistd.h>
|
|
+
|
|
+#define uuid_t fiptool_uuid_t
|
|
|
|
#include "fiptool.h"
|
|
#include "tbbr_config.h"
|