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.c16
1 files changed, 16 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 00000000..f7651d0e
--- /dev/null
+++ b/roms/u-boot/tools/os_support.c
@@ -0,0 +1,16 @@
+/*
+ * Copyright 2009 Extreme Engineering Solutions, Inc.
+ *
+ * SPDX-License-Identifier: LGPL-2.0+
+ */
+
+/*
+ * Include additional files required for supporting different operating systems
+ */
+#include "compiler.h"
+#ifdef __MINGW32__
+#include "mingw_support.c"
+#endif
+#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L
+#include "getline.c"
+#endif