summaryrefslogtreecommitdiff
path: root/src/_forced/mprotect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/_forced/mprotect.h')
-rw-r--r--src/_forced/mprotect.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/_forced/mprotect.h b/src/_forced/mprotect.h
index 5abbe5ed..717778de 100644
--- a/src/_forced/mprotect.h
+++ b/src/_forced/mprotect.h
@@ -1,9 +1,6 @@
-#ifdef _POSIX_C_SOURCE
-#include <sys/mman.h>
-#else
+//#include <sys/mman.h>
#include "_syscall.h"
#define mprotect(__ptr, __len, __prot) __syscall(__sys_mprotect, __ptr, __len, __prot)
#define PROT_NONE 0x0
#define PROT_READ 0x1
#define PROT_WRITE 0x2
-#endif