X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=src%2Fhashcat.c;h=9c5782d34c5db7178168652c4a669e1638d928f0;hb=6e04a52e53ce2392390ae4c04d215fd447d1720a;hp=1a704304d434d4dc6d8cb990246e22bed1479586;hpb=54ebe1fe2309552d03a661b9dd56877e12558a1e;p=hashcat.git diff --git a/src/hashcat.c b/src/hashcat.c index 1a70430..9c5782d 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -6,7 +6,7 @@ * License.....: MIT */ -#ifdef DARWIN +#if defined(DARWIN) || defined(__FreeBSD__) #include #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);