X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=AcessNative%2Fld-acess_src%2Fexports.h;h=880e74ca45012caefbc2143084b80aa0b67d6026;hb=510431249326d5a44fc502ed5cf798b79a442ce8;hp=feb5bfd52eaf6fc071b5a1c705e010418e2c0b29;hpb=c84c6acf1e8be4fb6e76ef0f8fd275400be8d5ae;p=tpg%2Facess2.git diff --git a/AcessNative/ld-acess_src/exports.h b/AcessNative/ld-acess_src/exports.h index feb5bfd5..880e74ca 100644 --- a/AcessNative/ld-acess_src/exports.h +++ b/AcessNative/ld-acess_src/exports.h @@ -8,6 +8,8 @@ #ifndef _EXPORTS_H_ #define _EXPORTS_H_ +#include + // Syscall request (used by acess_*) extern uint64_t _Syscall(int SyscallID, const char *ArgTypes, ...); @@ -18,7 +20,7 @@ extern size_t native_write(int FD, const void *Src, size_t Bytes); extern int native_seek(int FD, int64_t Offset, int Dir); extern uint64_t native_tell(int FD); -extern int native_execve(const char *filename, char *const argv[], char *const envp[]); +extern int native_execve(const char *filename, const char *const argv[], const char *const envp[]); // Syscalls used by the linker extern int acess_open(const char *Path, int Flags);