summaryrefslogtreecommitdiff
path: root/rts/sm/Storage.c
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-07-23 05:11:59 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-08-09 15:11:58 -0400
commitfc350dba63da7eefbaa2793fe9fe99f8571b75c0 (patch)
treea607a0c9ddc2d051cc282d29a9285fbb8aa347e3 /rts/sm/Storage.c
parentdb7098fe7aa3f7324d146821334b774032ea87bd (diff)
downloadhaskell-fc350dba63da7eefbaa2793fe9fe99f8571b75c0.tar.gz
Make `PosixSource.h` installed and under `rts/`
is used outside of the rts so we do this rather than just fish it out of the repo in ad-hoc way, in order to make packages in this repo more self-contained.
Diffstat (limited to 'rts/sm/Storage.c')
-rw-r--r--rts/sm/Storage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index 7d450a8931..5241494365 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -15,15 +15,15 @@
#if RTS_LINKER_USE_MMAP
/*
* On FreeBSD and Darwin, when _XOPEN_SOURCE is defined, MAP_ANONYMOUS is not
- * exposed from <sys/mman.h>. Include <sys/mman.h> before "PosixSource.h".
+ * exposed from <sys/mman.h>. Include <sys/mman.h> before "rts/PosixSource.h".
*
- * Alternatively, we could drop "PosixSource.h" from this file, but for just
+ * Alternatively, we could drop "rts/PosixSource.h" from this file, but for just
* one non-POSIX macro, that seems a needless price to pay.
*/
#include <sys/mman.h>
#endif
-#include "PosixSource.h"
+#include "rts/PosixSource.h"
#include "Rts.h"
#include "Storage.h"