From: Mike Frysinger Date: Fri, 20 Jan 2012 03:57:29 +0000 (-0500) Subject: sandbox: add ifdef protection to os.h X-Git-Tag: v2012.04-rc1~64^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f345d5673bc68122bcc5018a97fda2d8275437d;p=kernel%2Fu-boot.git sandbox: add ifdef protection to os.h Acked-by: Simon Glass Signed-off-by: Mike Frysinger --- 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