mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 01:55:08 +00:00
[Msan] Fix the initgroups.cc test to build on FreeBSD
Differential Revision: http://reviews.llvm.org/D9458 llvm-svn: 236580
This commit is contained in:
parent
d04e0d7292
commit
a26d2d4d5e
@ -2,6 +2,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <grp.h>
|
||||
#include <unistd.h> // FreeBSD declares initgroups() here.
|
||||
|
||||
int main(void) {
|
||||
initgroups("root", 0);
|
||||
|
Loading…
Reference in New Issue
Block a user