summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-01-19 22:57:29 -0500
committerMike Frysinger <vapier@gentoo.org>2012-03-12 11:03:42 -0400
commit4f345d5673bc68122bcc5018a97fda2d8275437d (patch)
tree8bd258a5191b87afee10c9611795cf18d114703e
parent3bdf56b78668769c091a74b40059a2ff14c5b80c (diff)
downloadu-boot-imx-4f345d5673bc68122bcc5018a97fda2d8275437d.zip
u-boot-imx-4f345d5673bc68122bcc5018a97fda2d8275437d.tar.gz
u-boot-imx-4f345d5673bc68122bcc5018a97fda2d8275437d.tar.bz2
sandbox: add ifdef protection to os.h
Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--include/os.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h
index f3af4f0..c17a8a5 100644
--- a/include/os.h
+++ b/include/os.h
@@ -25,6 +25,9 @@
* This provides access to useful OS routines from the sandbox architecture
*/
+#ifndef __OS_H__
+#define __OS_H__
+
/**
* Access to the OS read() system call
*
@@ -98,3 +101,5 @@ void os_usleep(unsigned long usec);
* \return A monotonic increasing time scaled in nano seconds
*/
u64 os_get_nsec(void);
+
+#endif