summaryrefslogtreecommitdiff
path: root/security/hashcat/files/patch-include_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/hashcat/files/patch-include_common.h')
-rw-r--r--security/hashcat/files/patch-include_common.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/hashcat/files/patch-include_common.h b/security/hashcat/files/patch-include_common.h
new file mode 100644
index 000000000000..bf13aed556fe
--- /dev/null
+++ b/security/hashcat/files/patch-include_common.h
@@ -0,0 +1,14 @@
+--- include/common.h.orig 2016-06-28 09:47:32 UTC
++++ include/common.h
+@@ -51,6 +51,11 @@
+ #include <mach/mach.h>
+ #endif
+
++#ifdef __FreeBSD__
++#include <termios.h>
++#include <sys/ioctl.h>
++#endif
++
+ typedef void *OCL_LIB;
+
+ #ifdef HAVE_HWMON