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> 2021-12-16 03:01:13-07:00
loge03c951a796a1286645bced917cff7e08d817089
tree0030a69a30e35c141db439478ce67387b8023db5
parente1436873a3391aa3f97e044a87699b0788835241

glibc: libc_nonshared.a: 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>