[PATCH] [Msan] Fix the ether unit test to build on FreeBSD
    Phabricator 
    reviews at reviews.llvm.org
       
    Mon Feb 16 05:15:56 PST 2015
    
    
  
REPOSITORY
  rL LLVM
http://reviews.llvm.org/D7334
Files:
  compiler-rt/trunk/lib/msan/tests/msan_test.cc
Index: compiler-rt/trunk/lib/msan/tests/msan_test.cc
===================================================================
--- compiler-rt/trunk/lib/msan/tests/msan_test.cc
+++ compiler-rt/trunk/lib/msan/tests/msan_test.cc
@@ -76,6 +76,7 @@
 # include <pthread_np.h>
 # include <sys/uio.h>
 # include <sys/mount.h>
+# include <net/ethernet.h>
 # define f_namelen f_namemax  // FreeBSD names this statfs field so.
 # define cpu_set_t cpuset_t
 #endif
EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7334.20021.patch
Type: text/x-patch
Size: 448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150216/bf8fac66/attachment.bin>
    
    
More information about the llvm-commits
mailing list