[PATCH] D58427: Fix checking for rpc/xdr.h

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 1 23:30:26 PDT 2019


MaskRay added inline comments.


================
Comment at: compiler-rt/test/msan/Linux/sunrpc.cc:17
 #include <assert.h>
+#include <rpc/types.h>
 #include <rpc/xdr.h>
----------------
MaskRay wrote:
> Does Linux need this?
See https://github.com/APokorny/libtirpc/blob/master/tirpc/rpc/xdr.h#L46 and /usr/include/rpc/xdr.h (glibc; newer glibc removed sunrpc headers) on a Linux distribution.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58427/new/

https://reviews.llvm.org/D58427





More information about the llvm-commits mailing list