mirror of
https://github.com/ziglang/zig.git
synced 2024-11-25 13:50:15 +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
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <sys/stat.h>
|
||||
#include <kernel_stat.h>
|
||||
#include <sysdep.h>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user