mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:47:45 +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
|
@ -10,11 +10,11 @@
|
|||
#include <AK/StringBuilder.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <errno.h>
|
||||
#include <mman.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/mman.h>
|
||||
#include <syscall.h>
|
||||
|
||||
static bool is_deadly_syscall(int fn)
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
#include <LibCore/File.h>
|
||||
#include <LibTest/TestCase.h>
|
||||
#include <fcntl.h>
|
||||
#include <mman.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
|
||||
|
|
|
@ -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