1
0
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:
jsteube 2016-09-07 11:24:21 +02:00
parent 3ba5c743f8
commit dda89fe610
2 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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