authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-12-16 00:46:06-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-10-13 18:12:00-07:00
log6d8b7e95b5be949c1f70c7d5c73141d6d4a219a5
tree5ed46cad9e70d9effc37ca2eb9ebf53c62f64e1d
parent50e18343a99f8806be7fe46385970b3fbda0a15a

glibc patch: add missing includes for inttypes.h

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

3 files changed, 3 insertions(+), 0 deletions(-)

lib/libc/glibc/sysdeps/unix/sysv/linux/fstatat.c+1
......@@ -16,6 +16,7 @@
1616 License along with the GNU C Library; if not, see
1717 <https://www.gnu.org/licenses/>. */
1818
19#include <inttypes.h>
1920#include <sys/stat.h>
2021#include <kernel_stat.h>
2122#include <sysdep.h>
lib/libc/glibc/sysdeps/unix/sysv/linux/fstatat64.c+1
......@@ -18,6 +18,7 @@
1818
1919#define __fstatat __redirect___fstatat
2020#define fstatat __redirect_fstatat
21#include <inttypes.h>
2122#include <sys/stat.h>
2223#include <fcntl.h>
2324#include <string.h>
lib/libc/glibc/sysdeps/unix/sysv/linux/mknodat.c+1
......@@ -16,6 +16,7 @@
1616 License along with the GNU C Library; if not, see
1717 <https://www.gnu.org/licenses/>. */
1818
19#include <inttypes.h>
1920#include <sys/types.h>
2021#include <sys/stat.h>
2122#include <errno.h>