Provide <bits/unistd_ext.h> as a sysdeps header exclusively

Non-sysdeps headers cannot be overriden by sysdeps headers across the
entire build, so it is necessary to turn such extension headers into
sysdeps headers themselves.  The approach here follows the existing
<bits/shm.h> header (although it uses sysdeps/gnu instead of
sysdeps/generic).

Fixes commit 1d0fc21382 ("Linux: Add
gettid system call wrapper [BZ #6399]") and commit
8f89ab216f ("posix: Fix missing wrapper
header for <bits/unistd_ext.h>").
This commit is contained in:
Florian Weimer 2019-02-08 16:51:17 +01:00
parent 8f89ab216f
commit e47d82c99a
3 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2019-02-08 Florian Weimer <fweimer@redhat.com>
* include/bits/unistd_ext.h: Remove file.
* posix/bits/unistd_ext.h: Move to ...
* sysdeps/generic/bits/unistd_ext.h: ... here.
2019-02-08 Florian Weimer <fweimer@redhat.com>
* include/bits/unistd_ext.h: New file.

View file

@ -1 +0,0 @@
#include <posix/bits/unistd_ext.h>