[compiler-rt] r229383 - [Msan] Fix the ether unit test to build on FreeBSD

Viktor Kutuzov vkutuzov at accesssoftek.com
Mon Feb 16 05:13:53 PST 2015


Author: vkutuzov
Date: Mon Feb 16 07:13:53 2015
New Revision: 229383

URL: http://llvm.org/viewvc/llvm-project?rev=229383&view=rev
Log:
[Msan] Fix the ether unit test to build on FreeBSD
Differential Revision: http://reviews.llvm.org/D7334

Modified:
    compiler-rt/trunk/lib/msan/tests/msan_test.cc

Modified: compiler-rt/trunk/lib/msan/tests/msan_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/tests/msan_test.cc?rev=229383&r1=229382&r2=229383&view=diff
==============================================================================
--- compiler-rt/trunk/lib/msan/tests/msan_test.cc (original)
+++ compiler-rt/trunk/lib/msan/tests/msan_test.cc Mon Feb 16 07:13:53 2015
@@ -76,6 +76,7 @@ int shmdt(const void *);
 # 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





More information about the llvm-commits mailing list