1
mirror of https://github.com/hashcat/hashcat synced 2024-11-13 17:28:58 +01: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
#include <pthread.h>
#include <sys/sysctl.h>
#endif // _POSIX
#ifdef __APPLE__
#include <mach-o/dyld.h>
#include <mach/mach.h>
#endif // __APPLE__
#ifdef _WIN
#include <windows.h>
#endif // _WIN

View File

@ -29,13 +29,8 @@
#include <sys/sysctl.h>
#endif // _POSIX
#ifdef __APPLE__
#include <mach-o/dyld.h>
#include <mach/mach.h>
#endif // __APPLE__
#ifdef _WIN
//#include <windows.h>
#include <windows.h>
#include <psapi.h>
#include <io.h>
#endif // _WIN