mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-16 11:48:15 +00:00
enable path resolution on FreeBSD
This commit is contained in:
parent
54ebe1fe23
commit
6e04a52e53
@ -6,7 +6,7 @@
|
||||
* License.....: MIT
|
||||
*/
|
||||
|
||||
#ifdef DARWIN
|
||||
#if defined(DARWIN) || defined(__FreeBSD__)
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
@ -6171,7 +6171,8 @@ int main (int argc, char **argv)
|
||||
|
||||
char *exec_path = get_exec_path ();
|
||||
|
||||
#if defined(LINUX) || defined(__APPLE__)
|
||||
|
||||
#if defined(LINUX) || defined(__APPLE__) || defined(__FreeBSD__)
|
||||
|
||||
char *resolved_install_folder = realpath (INSTALL_FOLDER, NULL);
|
||||
char *resolved_exec_path = realpath (exec_path, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user