Index: llvm/trunk/lib/Support/Unix/Path.inc =================================================================== --- llvm/trunk/lib/Support/Unix/Path.inc +++ llvm/trunk/lib/Support/Unix/Path.inc @@ -56,7 +56,7 @@ #include #if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && \ - !defined(__linux__) + !defined(__linux__) && !defined(__FreeBSD_kernel__) #include #define STATVFS statvfs #define FSTATVFS fstatvfs