summaryrefslogtreecommitdiff
path: root/includes/RtsExternal.h
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-10-10 10:37:04 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-10-10 10:37:04 +0000
commita4157bd2dc1e81f9da84b080a3dbaea18b329401 (patch)
treeaaaf895eb319c6dc0b7fde5d8e55ed98715b0c9c /includes/RtsExternal.h
parent2777940384ce4740954062bedd0f6813698fc72a (diff)
downloadhaskell-a4157bd2dc1e81f9da84b080a3dbaea18b329401.tar.gz
FIX BUILD (when compiling base via C): declare n_capabilities
Diffstat (limited to 'includes/RtsExternal.h')
-rw-r--r--includes/RtsExternal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/RtsExternal.h b/includes/RtsExternal.h
index 41c608dbf2..6c1f71e3d1 100644
--- a/includes/RtsExternal.h
+++ b/includes/RtsExternal.h
@@ -44,6 +44,7 @@ extern pid_t forkProcess(HsStablePtr *entry);
extern HsBool rtsSupportsBoundThreads(void);
extern StgInt newSpark (StgRegTable *reg, StgClosure *p);
extern void stopTimer(void);
+extern unsigned int n_capabilities;
/* grimy low-level support functions defined in StgPrimFloat.c */
extern StgDouble __encodeDouble (I_ size, StgByteArray arr, I_ e);