]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/os_support.h
arm: armv7: add compile option -mno-unaligned-access if available
[karo-tx-uboot.git] / tools / os_support.h
index f6f86b04d5749e70dbfc3375623135f4bb79f043..5bf7add39cc5d4fdfcfa20cd4528d596c855b75e 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef __OS_SUPPORT_H_
 #define __OS_SUPPORT_H_
 
+#include "compiler.h"
+
 /*
  * Include additional files required for supporting different operating systems
  */
@@ -26,4 +28,8 @@
 #include "mingw_support.h"
 #endif
 
+#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L
+#include "getline.h"
+#endif
+
 #endif /* __OS_SUPPORT_H_ */