mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 18:08:20 +00:00
Add includes to get OSX working
This commit is contained in:
parent
3ba5c743f8
commit
dda89fe610
@ -10,8 +10,14 @@
|
|||||||
|
|
||||||
#ifdef _POSIX
|
#ifdef _POSIX
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
#include <sys/sysctl.h>
|
||||||
#endif // _POSIX
|
#endif // _POSIX
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <mach-o/dyld.h>
|
||||||
|
#include <mach/mach.h>
|
||||||
|
#endif // __APPLE__
|
||||||
|
|
||||||
#ifdef _WIN
|
#ifdef _WIN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif // _WIN
|
#endif // _WIN
|
||||||
|
@ -29,13 +29,8 @@
|
|||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
#endif // _POSIX
|
#endif // _POSIX
|
||||||
|
|
||||||
#ifdef __APPLE__
|
|
||||||
#include <mach-o/dyld.h>
|
|
||||||
#include <mach/mach.h>
|
|
||||||
#endif // __APPLE__
|
|
||||||
|
|
||||||
#ifdef _WIN
|
#ifdef _WIN
|
||||||
//#include <windows.h>
|
#include <windows.h>
|
||||||
#include <psapi.h>
|
#include <psapi.h>
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif // _WIN
|
#endif // _WIN
|
||||||
|
Loading…
Reference in New Issue
Block a user