Add missing includes.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#define CRASH_HANDLER_H
|
#define CRASH_HANDLER_H
|
||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
#include <ucontext.h>
|
||||||
|
|
||||||
void ForceCrashHandler( const char *reason );
|
void ForceCrashHandler( const char *reason );
|
||||||
void CrashSignalHandler( int signal, siginfo_t *si, const ucontext_t *uc );
|
void CrashSignalHandler( int signal, siginfo_t *si, const ucontext_t *uc );
|
||||||
@@ -9,6 +10,7 @@ void CrashHandlerHandleArgs( int argc, char* argv[] );
|
|||||||
void InitializeCrashHandler();
|
void InitializeCrashHandler();
|
||||||
|
|
||||||
#if defined(DARWIN)
|
#if defined(DARWIN)
|
||||||
|
#include <MachineExceptions.h>
|
||||||
OSStatus CrashExceptionHandler( ExceptionInformation *e );
|
OSStatus CrashExceptionHandler( ExceptionInformation *e );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user