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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 23 21:58:10 PDT 2019


MaskRay added a comment.

As I said before,  I think this a bug in FreeBSD's implementation. Its https://github.com/freebsd/freebsd/blob/master/sys/rpc/xdr.h should include rpc/types.h. The rationale is that that file directly references `TRUE bool_t` and some other `rpc/includes.h` types. It can't be used without including `rpc/includes.h` first. The pollution concern is irrelevant.


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