diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-09-09 18:16:18 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-09-17 08:51:08 -0400 |
commit | 8d0c26c463fc1512ad90788345b002b23e53555a (patch) | |
tree | c3c281704e8f8017d48b539133772c6063f31195 | |
parent | b612e396ed1141dadfabc8486876abb713628f06 (diff) | |
download | haskell-8d0c26c463fc1512ad90788345b002b23e53555a.tar.gz |
rts/win32: Fix missing #include's
These slipped through CI.
-rw-r--r-- | rts/win32/IOManager.c | 3 | ||||
-rw-r--r-- | rts/win32/WorkQueue.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/rts/win32/IOManager.c b/rts/win32/IOManager.c index 46bf534114..271f0e5335 100644 --- a/rts/win32/IOManager.c +++ b/rts/win32/IOManager.c @@ -11,6 +11,7 @@ #if !defined(THREADED_RTS) #include "Rts.h" +#include "RtsUtils.h" #include "IOManager.h" #include "WorkQueue.h" #include "ConsoleHandler.h" @@ -440,7 +441,7 @@ AddIORequest ( int fd, { ASSERT(ioMan); - WorkItem* wItem = (WorkItem*)stgMallocBytse(sizeof(WorkItem), "AddIORequest"); + WorkItem* wItem = (WorkItem*)stgMallocBytes(sizeof(WorkItem), "AddIORequest"); unsigned int reqID = ioMan->requestID++; diff --git a/rts/win32/WorkQueue.c b/rts/win32/WorkQueue.c index e89092f122..1f4fb6a467 100644 --- a/rts/win32/WorkQueue.c +++ b/rts/win32/WorkQueue.c @@ -4,6 +4,7 @@ * (c) sof, 2002-2003. */ #include "Rts.h" +#include "RtsUtils.h" #include "WorkQueue.h" #include <stdbool.h> #include <stdio.h> |