From: jsteube Date: Sat, 28 May 2016 20:13:46 +0000 (+0200) Subject: Fix osx compilation X-Git-Tag: v3.00~115 X-Git-Url: https://www.flypig.org.uk/git/?a=commitdiff_plain;h=f91dc3ac805f5dc6b08b2ffd96259416b893b8e6;p=hashcat.git Fix osx compilation --- diff --git a/src/hashcat.c b/src/hashcat.c index b7fbb25..fd09ac3 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;