Created attachment 209553 [details]
Inclusion of sys/endian.h and macros for bswap_32 and bswap_64 are necessary.
Approved as mentor ("does no harm" on ppcports) pending maintainer review.
(In reply to George V. Neville-Neil from comment #2)
Are you ok with committing this fix to the port?
Commited in a slightly better form.
A commit references this bug:
Date: Tue Dec 3 09:59:37 UTC 2019
New revision: 518923
benchmarks/smhasher: fix build on powerpc64
Inclusion of sys/endian.h and macros for bswap_32 and bswap_64 are necessary. Other platforms do the same.
Approved by: gnn (maintainer), mentors (implicit approval)
Differential Revision: https://github.com/gvnn3/smhasher/pull/33