summaryrefslogtreecommitdiff
path: root/compiler/cbits
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cbits')
-rw-r--r--compiler/cbits/rawSystem.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/cbits/rawSystem.c b/compiler/cbits/rawSystem.c
new file mode 100644
index 0000000000..d103f4808b
--- /dev/null
+++ b/compiler/cbits/rawSystem.c
@@ -0,0 +1,6 @@
+/* Grab rawSystem from the library sources iff we're bootstrapping with an
+ * old version of GHC.
+ */
+#if __GLASGOW_HASKELL__ < 601
+#include "../../libraries/base/cbits/rawSystem.c"
+#endif