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> 2024-06-05 22:43:53-07:00
log090025c4576f8c58cf8e2040086b1804925265c2
treeea14254febfbc066130b5f7a8abe8670e85cde10
parenteead70f2d6758e928f5fe96d7d3bffa24308dbb2

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>