tools: env: include compiler.h 94/290794/1 accepted/tizen_unified tizen accepted/tizen/unified/20230404.140024
authorPeter Robinson <pbrobinson@gmail.com>
Wed, 9 Dec 2015 07:15:33 +0000 (07:15 +0000)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 3 Apr 2023 08:34:54 +0000 (17:34 +0900)
With gcc 5.2 and later we get a bunch of "error: unknown type name" for
'uint8_t', 'uint32_t' and friends.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
[sw0312.kim: backport mainline commit 69bf2d2fafe6 to fix build issue with new header]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ic14c0de161f02ae2eb5ef24e38fa49ddbef98313

tools/env/fw_env.c

index 3682cda..d36be32 100644 (file)
@@ -24,6 +24,7 @@
  * MA 02111-1307 USA
  */
 
+#include <compiler.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>