glibc patch: add missing includes for inttypes.h

I don't know where glibc thinks uintptr_t is coming from, but here it
is.
This commit is contained in:
Andrew Kelley 2021-12-16 00:46:06 -07:00
parent eead70f2d6
commit 090025c457
3 changed files with 3 additions and 0 deletions

View File

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

View File

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

View File

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