[PATCH] [Msan] Fix the statfs unit test to pass on FreeBSD
Viktor Kutuzov
vkutuzov at accesssoftek.com
Fri Jan 23 06:47:15 PST 2015
Hi kcc, samsonov, eugenis, emaste,
http://reviews.llvm.org/D7144
Files:
lib/msan/tests/msan_test.cc
Index: lib/msan/tests/msan_test.cc
===================================================================
--- lib/msan/tests/msan_test.cc
+++ lib/msan/tests/msan_test.cc
@@ -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__)
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7144.18672.patch
Type: text/x-patch
Size: 392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150123/e92ee9b4/attachment.bin>
More information about the llvm-commits
mailing list