[PATCH] D55296: [Support] Fix GNU/kFreeBSD build
James Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 4 13:49:10 PST 2018
jrtc27 created this revision.
jrtc27 added reviewers: efriedma, JDevlieghere, rnk.
Herald added subscribers: llvm-commits, kristina, krytarowski.
Repository:
rL LLVM
https://reviews.llvm.org/D55296
Files:
lib/Support/Unix/Path.inc
Index: lib/Support/Unix/Path.inc
===================================================================
--- lib/Support/Unix/Path.inc
+++ 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.176705.patch
Type: text/x-patch
Size: 447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181204/5c4cb0d8/attachment.bin>
More information about the llvm-commits
mailing list