--- lib/Support/Unix/Path.inc.orig 2014-06-30 18:57:04 UTC +++ lib/Support/Unix/Path.inc @@ -108,7 +108,8 @@ namespace sys { namespace fs { #if defined(__FreeBSD__) || defined (__NetBSD__) || defined(__Bitrig__) || \ defined(__OpenBSD__) || defined(__minix) || defined(__FreeBSD_kernel__) || \ - defined(__linux__) || defined(__CYGWIN__) || defined(__DragonFly__) + defined(__linux__) || defined(__CYGWIN__) || defined(__DragonFly__) || \ + defined(__BSDSUniX__) static int test_dir(char ret[PATH_MAX], const char *dir, const char *bin) { @@ -179,7 +180,7 @@ std::string getMainExecutable(const char } #elif defined(__FreeBSD__) || defined (__NetBSD__) || defined(__Bitrig__) || \ defined(__OpenBSD__) || defined(__minix) || defined(__DragonFly__) || \ - defined(__FreeBSD_kernel__) + defined(__FreeBSD_kernel__) || defined(__BSDSUniX__) char exe_path[PATH_MAX]; if (getprogpath(exe_path, argv0) != NULL)