This is an archive of the discontinued LLVM Phabricator instance.

Use explicit type for size_t on musl
Needs ReviewPublic

Authored by lyssdod on Jul 5 2021, 4:20 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This fixes build on musl for 12.0.0 release

Diff Detail

Event Timeline

lyssdod requested review of this revision.Jul 5 2021, 4:20 AM
lyssdod created this revision.
lyssdod updated this revision to Diff 356481.Jul 5 2021, 5:06 AM

Fixed includes order

lyssdod added projects: Restricted Project, Restricted Project.Jul 5 2021, 5:17 AM
lyssdod added subscribers: Restricted Project, Restricted Project.
lyssdod edited the summary of this revision. (Show Details)Jul 5 2021, 5:20 AM
lyssdod removed a reviewer: mgorny.Feb 11 2022, 4:48 PM
pcc added a subscriber: pcc.EditedFeb 11 2022, 4:59 PM

I suspect the real issue is that we're missing #include <stddef.h> at the top of this file. What happens if you add that and don't std qualify everything?