summaryrefslogtreecommitdiff
path: root/rts/RtsSymbols.h
diff options
context:
space:
mode:
authorReid Barton <rwbarton@gmail.com>2015-10-27 12:26:54 -0500
committerAustin Seipp <austin@well-typed.com>2015-10-27 12:27:00 -0500
commit9efa56dd26e0ec05823bd367e69e21da3c35af2b (patch)
tree0f57f93e3c33dc76bdfa7c1266901c475b0cbad0 /rts/RtsSymbols.h
parent31704adc82c3a1e48ac05c51f02933fd996b642a (diff)
downloadhaskell-9efa56dd26e0ec05823bd367e69e21da3c35af2b.tar.gz
Fix the DYNAMIC_GHC_PROGRAMS=NO build on Mac/Windows
LEADING_UNDERSCORE is defined in a header file, so we need to #include that file where we use LEADING_UNDERSCORE. Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D1382
Diffstat (limited to 'rts/RtsSymbols.h')
-rw-r--r--rts/RtsSymbols.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rts/RtsSymbols.h b/rts/RtsSymbols.h
index cc02a989b4..10c158c027 100644
--- a/rts/RtsSymbols.h
+++ b/rts/RtsSymbols.h
@@ -9,6 +9,7 @@
#ifndef RTS_SYMBOLS_H
#define RTS_SYMBOLS_H
+#include "ghcautoconf.h"
#ifdef LEADING_UNDERSCORE
#define MAYBE_LEADING_UNDERSCORE_STR(s) ("_" s)