tools: env: include compiler.h
authorPeter Robinson <pbrobinson@gmail.com>
Wed, 9 Dec 2015 07:15:33 +0000 (07:15 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 14 Dec 2015 01:22:00 +0000 (20:22 -0500)
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>
tools/env/fw_env.c

index ba11f7727b8ecea8c3f64b7d169c29c4699bd0b7..39f733376edc716a369c2bd1148dbda0a0a72356 100644 (file)
@@ -10,6 +10,7 @@
 
 #define _GNU_SOURCE
 
+#include <compiler.h>
 #include <errno.h>
 #include <env_flags.h>
 #include <fcntl.h>