Backport of "shmallocator: fix build on Illumos" into 1.24
Backport of !6321 (merged) "shmallocator: fix build on Illumos".
Commits:
- 4632c623 shmallocator: fix build on Illumos
Backport of !6321 (merged) "shmallocator: fix build on Illumos".
Commits: