mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-25 23:39:45 -05: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)
|
||||
|
||||
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; }"
|
||||
HAVE_PT_DENY_ATTACH)
|
||||
endif()
|
||||
|
@ -46,6 +46,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PT_DENY_ATTACH
|
||||
#include <sys/types.h>
|
||||
#include <sys/ptrace.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user