zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit e03c951a796a1286645bced917cff7e08d817089 (tree)
parent e1436873a3391aa3f97e044a87699b0788835241
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Thu, 16 Dec 2021 00:46:06 -0700

glibc: libc_nonshared.a: add missing includes for inttypes.h

I don't know where glibc thinks uintptr_t is coming from, but here it
is.

Diffstat:
Mlib/libc/glibc/sysdeps/unix/sysv/linux/fstatat.c | 1+
Mlib/libc/glibc/sysdeps/unix/sysv/linux/fstatat64.c | 1+
Mlib/libc/glibc/sysdeps/unix/sysv/linux/mknodat.c | 1+
3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/libc/glibc/sysdeps/unix/sysv/linux/fstatat.c b/lib/libc/glibc/sysdeps/unix/sysv/linux/fstatat.c @@ -16,6 +16,7 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ +#include <inttypes.h> #include <sys/stat.h> #include <kernel_stat.h> #include <sysdep.h> diff --git a/lib/libc/glibc/sysdeps/unix/sysv/linux/fstatat64.c b/lib/libc/glibc/sysdeps/unix/sysv/linux/fstatat64.c @@ -18,6 +18,7 @@ #define __fstatat __redirect___fstatat #define fstatat __redirect_fstatat +#include <inttypes.h> #include <sys/stat.h> #include <fcntl.h> #include <string.h> diff --git a/lib/libc/glibc/sysdeps/unix/sysv/linux/mknodat.c b/lib/libc/glibc/sysdeps/unix/sysv/linux/mknodat.c @@ -16,6 +16,7 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ +#include <inttypes.h> #include <sys/types.h> #include <sys/stat.h> #include <errno.h>