[PATCH] [Msan] Fix the initgroups.cc test to build on FreeBSD
Viktor Kutuzov
vkutuzov at accesssoftek.com
Sat May 2 08:58:04 PDT 2015
Hi kcc, samsonov, eugenis,
http://reviews.llvm.org/D9458
Files:
test/msan/initgroups.cc
Index: test/msan/initgroups.cc
===================================================================
--- test/msan/initgroups.cc
+++ 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);
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9458.24857.patch
Type: text/x-patch
Size: 322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150502/4ce0b7e6/attachment.bin>
More information about the llvm-commits
mailing list