summaryrefslogtreecommitdiff
path: root/lib/libc/thread/thrd_current.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/thread/thrd_current.c')
-rw-r--r--lib/libc/thread/thrd_current.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/thread/thrd_current.c b/lib/libc/thread/thrd_current.c
index adbb4191..86a814da 100644
--- a/lib/libc/thread/thrd_current.c
+++ b/lib/libc/thread/thrd_current.c
@@ -1,6 +1,5 @@
-#include <thread.h>
-#include <threads.h>
-#include <unistd.h>
+#include <__thread.h> // for __thread_self
+#include <threads.h> // for thrd_current, thrd_t
thrd_t thrd_current(void)
{