From f91dc3ac805f5dc6b08b2ffd96259416b893b8e6 Mon Sep 17 00:00:00 2001 From: jsteube Date: Sat, 28 May 2016 22:13:46 +0200 Subject: [PATCH] Fix osx compilation --- src/hashcat.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/hashcat.c b/src/hashcat.c index b7fbb2568..fd09ac316 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -6883,7 +6883,12 @@ int main (int argc, char **argv) potfile_disable = 1; weak_hash_threshold = 0; gpu_temp_disable = 1; + + #ifdef HAVE_HWMON + #ifdef HAVE_ADL powertune_enable = 1; + #endif + #endif data.status_timer = status_timer; data.restore_timer = restore_timer;