aboutsummaryrefslogtreecommitdiff
path: root/tools/os_support.h
diff options
context:
space:
mode:
authorMike Frysinger2009-07-02 19:23:25 -0400
committerWolfgang Denk2009-07-19 21:41:46 +0200
commit37566090766d61beef70c62986b90749920255d8 (patch)
tree6770441ddc1bc0b9e662e2ea7102da8e10b62d61 /tools/os_support.h
parent2a2ed845c085eb093b69fa6382fcf7534bb1f4b0 (diff)
compiler.h: unify system ifdef cruft here
Shove a lot of the HOSTCC and related #ifdef checking crap into the new compiler.h header so that we can keep all other headers nice and clean. Also introduce custom uswap functions so we don't have to rely on the non standard implementations that a host may (or may not in the case of OS X) provide. This allows mkimage to finally build cleanly on an OS X system. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tools/os_support.h')
-rw-r--r--tools/os_support.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/os_support.h b/tools/os_support.h
index f6f86b04d57..7bf930e22a3 100644
--- a/tools/os_support.h
+++ b/tools/os_support.h
@@ -19,6 +19,8 @@
#ifndef __OS_SUPPORT_H_
#define __OS_SUPPORT_H_
+#include "compiler.h"
+
/*
* Include additional files required for supporting different operating systems
*/