[Msan] Fix the sigaction unit test to build on FreeBSD
authorViktor Kutuzov <vkutuzov@accesssoftek.com>
Mon, 16 Feb 2015 13:15:58 +0000 (13:15 +0000)
committerViktor Kutuzov <vkutuzov@accesssoftek.com>
Mon, 16 Feb 2015 13:15:58 +0000 (13:15 +0000)
Differential Revision: http://reviews.llvm.org/D7335

llvm-svn: 229384

compiler-rt/lib/msan/tests/msan_test.cc

index 30c6765..9bc2d79 100644 (file)
@@ -72,6 +72,7 @@ int shmdt(const void *);
 # include <mntent.h>
 # include <netinet/ether.h>
 #else
+# include <signal.h>
 # include <netinet/in.h>
 # include <pthread_np.h>
 # include <sys/uio.h>