[Msan] Fix the statfs unit test to pass on FreeBSD

Differential Revision: http://reviews.llvm.org/D7144

llvm-svn: 227100
This commit is contained in:
Viktor Kutuzov 2015-01-26 17:31:23 +00:00
parent 16f7a52628
commit 965918e7d4
1 changed files with 2 additions and 0 deletions

View File

@ -61,6 +61,8 @@
#else
# include <netinet/in.h>
# include <sys/uio.h>
# include <sys/mount.h>
# define f_namelen f_namemax // FreeBSD names this statfs field so.
#endif
#if defined(__i386__) || defined(__x86_64__)