Skip to content

Commit f457470

Browse files
author
Eli Friedman
committedDec 18, 2018
[Support] Fix GNU/kFreeBSD build
Patch by James Clarke. Differential Revision: https://reviews.llvm.org/D55296 llvm-svn: 349434
1 parent 4ab50b8 commit f457470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎llvm/lib/Support/Unix/Path.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
#include <sys/types.h>
5858
#if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && \
59-
!defined(__linux__)
59+
!defined(__linux__) && !defined(__FreeBSD_kernel__)
6060
#include <sys/statvfs.h>
6161
#define STATVFS statvfs
6262
#define FSTATVFS fstatvfs

0 commit comments

Comments
 (0)