summaryrefslogtreecommitdiff
path: root/rts/posix/Ticker.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/posix/Ticker.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/posix/Ticker.c')
-rw-r--r--rts/posix/Ticker.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/posix/Ticker.c b/rts/posix/Ticker.c
index 0b2dd25bbd..35387cdff4 100644
--- a/rts/posix/Ticker.c
+++ b/rts/posix/Ticker.c
@@ -20,9 +20,9 @@
* Ticker.c for consistency.
*/
-#include "PosixSource.h"
+#include "rts/PosixSource.h"
-/* We've defined _POSIX_SOURCE via "PosixSource.h", and yet still use
+/* We've defined _POSIX_SOURCE via "rts/PosixSource.h", and yet still use
some non-POSIX features. With _POSIX_SOURCE defined, visibility of
non-POSIX extension prototypes requires _DARWIN_C_SOURCE on Mac OS X,
__BSD_VISIBLE on FreeBSD and DragonflyBSD, and _NetBSD_SOURCE on
@@ -32,7 +32,7 @@
system headers are included via "Rts.h".
An alternative approach could be to write portable wrappers or stubs for all
- the non-posix functions in a C-module that does not include "PosixSource.h",
+ the non-posix functions in a C-module that does not include "rts/PosixSource.h",
and then use only POSIX features and the portable wrapper functions in all
other C-modules. */
#include "ghcconfig.h"