[compiler-rt] r219791 - [Tsan] Fix the sunrpc.cc test to build on FreeBSD

Viktor Kutuzov vkutuzov at accesssoftek.com
Wed Oct 15 05:47:48 PDT 2014


Author: vkutuzov
Date: Wed Oct 15 07:47:48 2014
New Revision: 219791

URL: http://llvm.org/viewvc/llvm-project?rev=219791&view=rev
Log:
[Tsan] Fix the sunrpc.cc test to build on FreeBSD
Differential Revision: http://reviews.llvm.org/D5730

Modified:
    compiler-rt/trunk/test/tsan/sunrpc.cc

Modified: compiler-rt/trunk/test/tsan/sunrpc.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/sunrpc.cc?rev=219791&r1=219790&r2=219791&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/sunrpc.cc (original)
+++ compiler-rt/trunk/test/tsan/sunrpc.cc Wed Oct 15 07:47:48 2014
@@ -1,6 +1,7 @@
 // RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
 
 #include <pthread.h>
+#include <rpc/types.h>
 #include <rpc/xdr.h>
 #include <stdio.h>
 





More information about the llvm-commits mailing list