diff options
author | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2015-05-06 09:26:35 +0000 |
---|---|---|
committer | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2015-05-06 09:26:35 +0000 |
commit | 09ad9649d7308728b91a1b4f04cbdc1c51b689ef (patch) | |
tree | 071144f7d8245c7ad74e5857957112c71b3b8557 /test/msan | |
parent | 236e033954f8307298d7b1619514af3322aa12a8 (diff) |
[Msan] Fix the initgroups.cc test to build on FreeBSD
Differential Revision: http://reviews.llvm.org/D9458
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@236580 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/msan')
-rw-r--r-- | test/msan/initgroups.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/msan/initgroups.cc b/test/msan/initgroups.cc index d11fd582a..974b1cbaa 100644 --- a/test/msan/initgroups.cc +++ b/test/msan/initgroups.cc @@ -2,6 +2,7 @@ #include <sys/types.h> #include <grp.h> +#include <unistd.h> // FreeBSD declares initgroups() here. int main(void) { initgroups("root", 0); |