[PATCH] D41015: Fix test/msan/ifaddrs.cc for NetBSD
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 8 16:37:25 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT320223: Fix test/msan/ifaddrs.cc for NetBSD (authored by kamil).
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D41015
Files:
test/msan/ifaddrs.cc
Index: test/msan/ifaddrs.cc
===================================================================
--- test/msan/ifaddrs.cc
+++ test/msan/ifaddrs.cc
@@ -10,7 +10,7 @@
#include <vector>
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
#include <sys/socket.h> // To define 'struct sockaddr'.
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41015.126237.patch
Type: text/x-patch
Size: 330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171209/9aafc9dd/attachment.bin>
More information about the llvm-commits
mailing list