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 @@...@@ -16,6 +16,7 @@
16 License along with the GNU C Library; if not, see16 License along with the GNU C Library; if not, see
17 <https://www.gnu.org/licenses/>. */17 <https://www.gnu.org/licenses/>. */
1818
19#include <inttypes.h>
19#include <sys/stat.h>20#include <sys/stat.h>
20#include <kernel_stat.h>21#include <kernel_stat.h>
21#include <sysdep.h>22#include <sysdep.h>
lib/libc/glibc/sysdeps/unix/sysv/linux/fstatat64.c+1
...@@ -18,6 +18,7 @@...@@ -18,6 +18,7 @@
1818
19#define __fstatat __redirect___fstatat19#define __fstatat __redirect___fstatat
20#define fstatat __redirect_fstatat20#define fstatat __redirect_fstatat
21#include <inttypes.h>
21#include <sys/stat.h>22#include <sys/stat.h>
22#include <fcntl.h>23#include <fcntl.h>
23#include <string.h>24#include <string.h>
lib/libc/glibc/sysdeps/unix/sysv/linux/mknodat.c+1
...@@ -16,6 +16,7 @@...@@ -16,6 +16,7 @@
16 License along with the GNU C Library; if not, see16 License along with the GNU C Library; if not, see
17 <https://www.gnu.org/licenses/>. */17 <https://www.gnu.org/licenses/>. */
1818
19#include <inttypes.h>
19#include <sys/types.h>20#include <sys/types.h>
20#include <sys/stat.h>21#include <sys/stat.h>
21#include <errno.h>22#include <errno.h>