mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
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:
parent
eead70f2d6
commit
090025c457
@ -16,6 +16,7 @@
|
|||||||
License along with the GNU C Library; if not, see
|
License along with the GNU C Library; if not, see
|
||||||
<https://www.gnu.org/licenses/>. */
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <kernel_stat.h>
|
#include <kernel_stat.h>
|
||||||
#include <sysdep.h>
|
#include <sysdep.h>
|
||||||
|
|||||||
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#define __fstatat __redirect___fstatat
|
#define __fstatat __redirect___fstatat
|
||||||
#define fstatat __redirect_fstatat
|
#define fstatat __redirect_fstatat
|
||||||
|
#include <inttypes.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
License along with the GNU C Library; if not, see
|
License along with the GNU C Library; if not, see
|
||||||
<https://www.gnu.org/licenses/>. */
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user