[PATCH] [Msan] Fix the ether unit test to build on FreeBSD

Viktor Kutuzov vkutuzov at accesssoftek.com
Mon Feb 2 02:08:56 PST 2015


Hi kcc, samsonov, eugenis, emaste,

http://reviews.llvm.org/D7334

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
@@ -75,6 +75,7 @@
 # include <netinet/in.h>
 # include <sys/uio.h>
 # include <sys/mount.h>
+# include <net/ethernet.h>
 # define f_namelen f_namemax  // FreeBSD names this statfs field so.
 #endif

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7334.19140.patch
Type: text/x-patch
Size: 367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150202/e8faa395/attachment.bin>


More information about the llvm-commits mailing list