From a26d2d4d5e339ba9a6e30017c855c68f0d7ef9c8 Mon Sep 17 00:00:00 2001 From: Viktor Kutuzov Date: Wed, 6 May 2015 09:26:35 +0000 Subject: [PATCH] [Msan] Fix the initgroups.cc test to build on FreeBSD Differential Revision: http://reviews.llvm.org/D9458 llvm-svn: 236580 --- compiler-rt/test/msan/initgroups.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler-rt/test/msan/initgroups.cc b/compiler-rt/test/msan/initgroups.cc index d11fd58..974b1cba 100644 --- a/compiler-rt/test/msan/initgroups.cc +++ b/compiler-rt/test/msan/initgroups.cc @@ -2,6 +2,7 @@ #include #include +#include // FreeBSD declares initgroups() here. int main(void) { initgroups("root", 0); -- 2.7.4