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:
parent
e16894af5a
commit
eecf7a2097
10 changed files with 45 additions and 54 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue