[PATCH] D55296: [Support] Fix GNU/kFreeBSD build

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 17 17:41:48 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL349434: [Support] Fix GNU/kFreeBSD build (authored by efriedma, committed by ).

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55296/new/

https://reviews.llvm.org/D55296

Files:
  llvm/trunk/lib/Support/Unix/Path.inc


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 <sys/types.h>
 #if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__FreeBSD__) &&   \
-    !defined(__linux__)
+    !defined(__linux__) && !defined(__FreeBSD_kernel__)
 #include <sys/statvfs.h>
 #define STATVFS statvfs
 #define FSTATVFS fstatvfs


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55296.178574.patch
Type: text/x-patch
Size: 480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181218/0043e15d/attachment.bin>


More information about the llvm-commits mailing list