aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/tools/os_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/tools/os_support.c')
-rw-r--r--roms/u-boot/tools/os_support.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/roms/u-boot/tools/os_support.c b/roms/u-boot/tools/os_support.c
new file mode 100644
index 000000000..6890c3183
--- /dev/null
+++ b/roms/u-boot/tools/os_support.c
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2009 Extreme Engineering Solutions, Inc.
+ */
+
+#include "compiler.h"
+
+/*
+ * Include additional files required for supporting different operating systems
+ */
+
+#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L
+#include "getline.c"
+#endif