--- tests/tools_test.c.orig 2022-08-31 20:00:01 UTC +++ tests/tools_test.c @@ -28,7 +28,12 @@ #include #include #include +#ifdef __linux__ #include +#elif defined(__FreeBSD__) +#include +#define get_current_dir_name() getwd(NULL) +#endif #define TOOLS "../tools/"