summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/api/demo.c2
-rw-r--r--examples/api/glue.c1
-rw-r--r--examples/api/libgenwrap.c1
-rw-r--r--examples/standalone/atmel_df_pow2.c1
-rw-r--r--examples/standalone/sched.c1
-rw-r--r--examples/standalone/stubs.c1
6 files changed, 6 insertions, 1 deletions
diff --git a/examples/api/demo.c b/examples/api/demo.c
index 677d13b307a..d586174ce8c 100644
--- a/examples/api/demo.c
+++ b/examples/api/demo.c
@@ -5,7 +5,7 @@
* Written by: Rafal Jaworowski <raj@semihalf.com>
*/
-#include <stdio.h>
+#include <common.h>
#include <env.h>
#include <linux/types.h>
#include <api_public.h>
diff --git a/examples/api/glue.c b/examples/api/glue.c
index 08c21a8cb9c..075d307ae26 100644
--- a/examples/api/glue.c
+++ b/examples/api/glue.c
@@ -3,6 +3,7 @@
* (C) Copyright 2007-2008 Semihalf, Rafal Jaworowski <raj@semihalf.com>
*/
+#include <common.h>
#include <env.h>
#include <linux/types.h>
#include <api_public.h>
diff --git a/examples/api/libgenwrap.c b/examples/api/libgenwrap.c
index bfd88e100d6..3aa222866ff 100644
--- a/examples/api/libgenwrap.c
+++ b/examples/api/libgenwrap.c
@@ -9,6 +9,7 @@
* existing code e.g. operations on strings and similar.
*/
+#include <common.h>
#include <command.h>
#include <hang.h>
#include <linux/delay.h>
diff --git a/examples/standalone/atmel_df_pow2.c b/examples/standalone/atmel_df_pow2.c
index ed0d7aeaadc..dcb25da9498 100644
--- a/examples/standalone/atmel_df_pow2.c
+++ b/examples/standalone/atmel_df_pow2.c
@@ -6,6 +6,7 @@
* Licensed under the 2-clause BSD.
*/
+#include <common.h>
#include <exports.h>
#include <spi.h>
#include <linux/delay.h>
diff --git a/examples/standalone/sched.c b/examples/standalone/sched.c
index d507163f6f3..1c529607132 100644
--- a/examples/standalone/sched.c
+++ b/examples/standalone/sched.c
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0+
+#include <common.h>
#include <exports.h>
/*
diff --git a/examples/standalone/stubs.c b/examples/standalone/stubs.c
index 04e8acb8abe..65115570e8e 100644
--- a/examples/standalone/stubs.c
+++ b/examples/standalone/stubs.c
@@ -1,3 +1,4 @@
+#include <common.h>
#include <exports.h>
#include <linux/compiler.h>