summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-09-25 13:18:30 -0400
committerJakob Kaivo <jkk@ung.org>2020-09-25 13:18:30 -0400
commitd92a2127be62f6503041d9e231de38713a9cb705 (patch)
tree55f87a8d7f938fda18e3310d0f11d3b721170dfc
parent5b4fb8cd8117b0613cea9f6ad1362b3c61fadfde (diff)
annotate reason for forced _POSIX_C_SOURCE
-rw-r--r--src/unistd/sleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/sleep.c b/src/unistd/sleep.c
index e0b0c476..e1b38a0b 100644
--- a/src/unistd/sleep.c
+++ b/src/unistd/sleep.c
@@ -1,6 +1,6 @@
#if ((!defined _POSIX_C_SOURCE) || (_POSIX_C_SOURCE < 199309L))
#undef _POSIX_C_SOURCE
-#define _POSIX_C_SOURCE 199309L
+#define _POSIX_C_SOURCE 199309L /* force struct timespec */
#endif
#include <sys/types.h>