Commit 090025c457

Andrew Kelley <andrew@ziglang.org>
2021-12-16 08:46:06
glibc patch: add missing includes for inttypes.h
I don't know where glibc thinks uintptr_t is coming from, but here it is.
1 parent eead70f
Changed files (3)
lib
libc
glibc
sysdeps
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>
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>
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>