]> granicus.if.org Git - psmisc/commit
peekfd: Include headers for ppc64
authorBreno Leitao <brenohl@br.ibm.com>
Thu, 6 Apr 2017 16:59:57 +0000 (13:59 -0300)
committerCraig Small <csmall@enc.com.au>
Sat, 5 May 2018 22:11:25 +0000 (08:11 +1000)
commita87094849f50d0a1728fcb694c393f6c89e17248
treef3ce5678e56d4994f1ba751dd0eed0583797fcff
parentaaf1dfb4027d01d13ed071f83b5f9fd97f974826
peekfd: Include headers for ppc64

Currently peekfd fails to build on ppc64le architecture with musl
because it does not find reference for __WORDSIZE.

This patch just includes reference for this macro if it was not
previously defined.
src/peekfd.c