summary refs log tree commit diff
path: root/posix/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-02-02 15:17:02 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-02-08 11:27:55 +0100
commit1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92 (patch)
treea1979a3d4ef860e9f4565aab20cb2549b0a3303e /posix/Makefile
parentf289e656ec8221756519a601042bc9fbe1b310fb (diff)
downloadglibc-1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92.tar.gz
glibc-1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92.tar.xz
glibc-1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92.zip
Linux: Add gettid system call wrapper [BZ #6399]
This commit adds gettid to <unistd.h> on Linux, and not to the
kernel-independent GNU API.

gettid is now supportable on Linux because too many things assume a
1:1 mapping between libpthread threads and kernel threads.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'posix/Makefile')
-rw-r--r--posix/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/Makefile b/posix/Makefile
index 873947f72e..93c3a290d7 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -31,7 +31,8 @@ headers	:= sys/utsname.h sys/times.h sys/wait.h sys/types.h unistd.h	      \
 	   bits/local_lim.h tar.h bits/utsname.h bits/confname.h	      \
 	   bits/waitflags.h bits/waitstatus.h sys/unistd.h sched.h	      \
 	   bits/sched.h bits/cpu-set.h re_comp.h wait.h bits/environments.h   \
-	   cpio.h spawn.h bits/unistd.h bits/types/struct_sched_param.h
+	   cpio.h spawn.h bits/unistd.h bits/types/struct_sched_param.h	      \
+	   bits/unistd_ext.h
 
 routines :=								      \
 	uname								      \