summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index e45266f14..0fd430549 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1259,6 +1259,10 @@ extern int getentropy(void *__buf, size_t __len) __nonnull ((1)) __wur;
# endif
#endif
+#if (defined _GNU_SOURCE && defined __UCLIBC_HAS_THREADS_NATIVE__)
+pid_t gettid(void);
+#endif
+
__END_DECLS