fix stuff

This commit is contained in:
lizzie 2026-02-23 05:24:15 +00:00
parent af9f924658
commit 15a1d783cd
3 changed files with 8 additions and 7 deletions

View file

@ -27,6 +27,11 @@
#include <sys/random.h>
#elif defined(__APPLE__)
#include <sys/types.h>
#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
// Not available on iOS for some fucking stupid reason...
#else
#include <sys/random.h>
#endif
#include <mach/vm_map.h>
#include <mach/mach.h>
#elif defined(__FreeBSD__)
@ -35,11 +40,6 @@
#include <orbis/libkernel.h>
#endif
// Not available on iOS for some fucking stupid reason...
#if defined(__APPLE__) && TARGET_OS_MAC
#include <sys/random.h>
#endif
// FreeBSD
#ifndef MAP_NORESERVE
#define MAP_NORESERVE 0