1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

LibC: Move mman.h to sys/mman.h

POSIX mandates that it is placed there.
This commit is contained in:
Jean-Baptiste Boric 2021-05-14 17:38:33 +02:00 committed by Andreas Kling
parent e16894af5a
commit eecf7a2097
10 changed files with 45 additions and 54 deletions

View file

@ -6,10 +6,10 @@
#include <AK/Assertions.h>
#include <LibCore/ArgsParser.h>
#include <mman.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
static void write8(void* ptr) { *(volatile uint8_t*)ptr = 1; }
static void write16(void* ptr) { *(volatile uint16_t*)ptr = 1; }