--- lib/Support/Unix/Path.inc.orig 2016-12-14 04:56:42 UTC +++ lib/Support/Unix/Path.inc @@ -91,7 +91,7 @@ namespace fs { #if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__Bitrig__) || \ defined(__OpenBSD__) || defined(__minix) || defined(__FreeBSD_kernel__) || \ defined(__linux__) || defined(__CYGWIN__) || defined(__DragonFly__) || \ - defined(_AIX) + defined(_AIX) || defined(__BSDSUniX__) || defined(__BSDSUniX_kernel__) static int test_dir(char ret[PATH_MAX], const char *dir, const char *bin) { @@ -162,7 +162,8 @@ std::string getMainExecutable(const char } #elif defined(__FreeBSD__) || defined (__NetBSD__) || defined(__Bitrig__) || \ defined(__OpenBSD__) || defined(__minix) || defined(__DragonFly__) || \ - defined(__FreeBSD_kernel__) || defined(_AIX) + defined(__FreeBSD_kernel__) || defined(_AIX) || defined(__BSDSUniX__) || \ + defined(__BSDSUniX_kernel__) char exe_path[PATH_MAX]; if (getprogpath(exe_path, argv0) != NULL)