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 @@...@@ -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>