libc: Patch mman.h so libgcov builds

This commit is contained in:
apio 2022-10-23 12:10:05 +02:00
parent 43180b777e
commit 51bd7de17b

View File

@ -13,6 +13,10 @@
#define PAGE_SIZE 4096
#define MAP_PRIVATE 0
#define MAP_SHARED 1
#define MAP_ANONYMOUS 2
#ifdef __cplusplus
extern "C"
{
@ -26,7 +30,7 @@ extern "C"
* address space. */
int munmap(void* addr, size_t size);
/* Protects size bytes of memory according to the prot argument. */
/* Changes the permissions of size bytes of memory at addr according to the prot argument. */
int mprotect(void* addr, size_t size, int prot);
#ifdef __cplusplus