summary refs log tree commit diff
path: root/sysdeps/mach/sched_yield.c
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2021-10-29 06:27:17 +0900
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-10-29 09:21:37 -0300
commit6446c725d4df7d1a13fcf09be43975b263ad5b3d (patch)
treed12472d57268a44f3f38e39b468452cbb9b172ea /sysdeps/mach/sched_yield.c
parent04e8169f1d0397b1ffc77fbb49f4344f1ae53a82 (diff)
downloadglibc-6446c725d4df7d1a13fcf09be43975b263ad5b3d.tar.gz
glibc-6446c725d4df7d1a13fcf09be43975b263ad5b3d.tar.xz
glibc-6446c725d4df7d1a13fcf09be43975b263ad5b3d.zip
Fix compiler issue with mmap_internal
Compiling mmap_internal fails to compile when we use -1 for MMAP2_PAGE_UNIT
on 32 bit architectures.  The error is as follows:

    ../sysdeps/unix/sysv/linux/mmap_internal.h:30:8: error: unknown type
    name 'uint64_t'
    |
       30 | static uint64_t page_unit;
	  |
	  |        ^~~~~~~~

Fix by adding including stdint.h.
Diffstat (limited to 'sysdeps/mach/sched_yield.c')
0 files changed, 0 insertions, 0 deletions