mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-09-20 04:12:15 +02:00
Fix includes for ptrace(PT_DENY_ATTACH, ...).
This commit is contained in:
parent
21f1eb2d14
commit
18337927f5
@ -194,7 +194,8 @@ if(UNIX)
|
|||||||
}" HAVE_RLIMIT_CORE)
|
}" HAVE_RLIMIT_CORE)
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
check_cxx_source_compiles("#include <sys/ptrace.h>
|
check_cxx_source_compiles("#include <sys/types.h>
|
||||||
|
#include <sys/ptrace.h>
|
||||||
int main() { ptrace(PT_DENY_ATTACH, 0, 0, 0); return 0; }"
|
int main() { ptrace(PT_DENY_ATTACH, 0, 0, 0); return 0; }"
|
||||||
HAVE_PT_DENY_ATTACH)
|
HAVE_PT_DENY_ATTACH)
|
||||||
endif()
|
endif()
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_PT_DENY_ATTACH
|
#ifdef HAVE_PT_DENY_ATTACH
|
||||||
|
#include <sys/types.h>
|
||||||
#include <sys/ptrace.h>
|
#include <sys/ptrace.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user