summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2018-12-18 01:38:20 +0000
committerEli Friedman <efriedma@codeaurora.org>2018-12-18 01:38:20 +0000
commitf45747028690da39e1bae04e3c3f0cfed53aa88a (patch)
tree40bfd15a2e5502009e3d5619a601cd2f5e981964 /llvm/lib/Support/Unix
parent4ab50b858ed7c3dfee8cef040b5ed43c863e44d7 (diff)
downloadbcm5719-llvm-f45747028690da39e1bae04e3c3f0cfed53aa88a.tar.gz
bcm5719-llvm-f45747028690da39e1bae04e3c3f0cfed53aa88a.zip
[Support] Fix GNU/kFreeBSD build
Patch by James Clarke. Differential Revision: https://reviews.llvm.org/D55296 llvm-svn: 349434
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r--llvm/lib/Support/Unix/Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc
index d130b33f840..d7cc0d627d0 100644
--- a/llvm/lib/Support/Unix/Path.inc
+++ b/llvm/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
OpenPOWER on IntegriCloud