projects
/
hashcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added support for build without ADL/NVML/NVAPI (issue #120)
[hashcat.git]
/
include
/
ext_smi.h
diff --git
a/include/ext_smi.h
b/include/ext_smi.h
index
5ca5abf
..
3e88bde
100644
(file)
--- a/
include/ext_smi.h
+++ b/
include/ext_smi.h
@@
-6,6
+6,8
@@
#ifndef EXT_SMI_H
#define EXT_SMI_H
+#ifdef HAVE_HWMON
+
#include <common.h>
#define SMI_OK 0
@@
-13,4
+15,6
@@
int hc_nvidia_smi (int dev, int *temperature, int *gpu);
+#endif // HAVE_HWMON
+
#endif