diff --git a/Source/Project64-core/N64System/Mips/MemoryVirtualMem.h b/Source/Project64-core/N64System/Mips/MemoryVirtualMem.h index 2f648770b..e52949876 100644 --- a/Source/Project64-core/N64System/Mips/MemoryVirtualMem.h +++ b/Source/Project64-core/N64System/Mips/MemoryVirtualMem.h @@ -22,6 +22,11 @@ #include #endif +#ifndef _WIN32 +#include +/* siginfo_t */ +#endif + /* * 64-bit Windows exception recovery facilities will expect to interact with * the 64-bit registers of the Intel architecture (e.g., rax instead of eax). @@ -101,7 +106,7 @@ public: int32_t MemoryFilter(uint32_t dwExptCode, void * lpExceptionPointer); void UpdateFieldSerration(uint32_t interlaced); #ifndef _WIN32 - static bool SetupSegvHandler (void); + static bool SetupSegvHandler(void); static void segv_handler(int signal, siginfo_t *siginfo, void *sigcontext); #endif diff --git a/Source/Script/Unix/project64-core.sh b/Source/Script/Unix/project64-core.sh index 5bc422a9e..c15ecd428 100755 --- a/Source/Script/Unix/project64-core.sh +++ b/Source/Script/Unix/project64-core.sh @@ -261,4 +261,4 @@ $obj/Settings/type/TmpNumber.o \ $obj/Settings/type/TmpString.o" echo Linking static library objects for Project64-core... -ar rcs $obj/project64-core.a $OBJ_LIST +ar rcs $obj/libproject64-core.a $OBJ_LIST