]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Provide <bits/unistd_ext.h> as a sysdeps header exclusively
authorFlorian Weimer <fweimer@redhat.com>
Fri, 8 Feb 2019 15:51:17 +0000 (16:51 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 8 Feb 2019 15:51:17 +0000 (16:51 +0100)
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 1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92 ("Linux: Add
gettid system call wrapper [BZ #6399]") and commit
8f89ab216f205c2ffd90d1fc8454efdfc0b01dee ("posix: Fix missing wrapper
header for <bits/unistd_ext.h>").

ChangeLog
include/bits/unistd_ext.h [deleted file]
sysdeps/generic/bits/unistd_ext.h [moved from posix/bits/unistd_ext.h with 100% similarity]

index 164db3f085b94993d21fb587d03cfbc643d63533..62a78a193f0b917fd51cefd98e996f3174b3ebf6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/include/bits/unistd_ext.h b/include/bits/unistd_ext.h
deleted file mode 100644 (file)
index 24e8d09..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <posix/bits/unistd_ext.h>