aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2026-02-03 12:41:23 +0100
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2026-02-04 15:32:03 -0300
commit856c426a753450b8c6861a5b994a564f4fc16d4b (patch)
tree1cb987a15693e88d48291552a4629436e5bac8fa
parent144ba302089cff5a2f2e1c9e1280faea9da9f8cc (diff)
downloadglibc-release/2.43/master.zip
glibc-release/2.43/master.tar.gz
glibc-release/2.43/master.tar.bz2
Don't include <bits/openat2.h> directly (bug 33848)release/2.43/master
Headers from bits directories should never be included directly, only via the official headers. (cherry picked from commit 0e47414ce87f3b088ff454fc6c7d1129ff9617ec)
-rw-r--r--NEWS2
-rw-r--r--sysdeps/unix/sysv/linux/openat2.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index b9953e9..1f07633 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,8 @@ The following bugs are resolved with this release:
[33623] [ldbl-128ibm] roundl, ceill, truncl, floorl bad sign of zero
results
+ [33848] build: Build fails at openat2.h, redefinition of 'struct
+ open_how'
Version 2.43
diff --git a/sysdeps/unix/sysv/linux/openat2.c b/sysdeps/unix/sysv/linux/openat2.c
index 7587dd5..ac7b705 100644
--- a/sysdeps/unix/sysv/linux/openat2.c
+++ b/sysdeps/unix/sysv/linux/openat2.c
@@ -17,7 +17,6 @@
<https://www.gnu.org/licenses/>. */
#include <fcntl.h>
-#include <bits/openat2.h>
#include <sysdep-cancel.h>
int