add tty handling for FreeBSD
[hashcat.git] / include / common.h
index 7f3cf27..ff9cd4a 100644 (file)
 #include <mach/mach.h>
 #endif
 
+#ifdef __FreeBSD__
+#include <termios.h>
+#include <sys/ioctl.h>
+#endif
+
 typedef void *OCL_LIB;
 
 #ifdef HAVE_HWMON