aboutsummaryrefslogtreecommitdiffstats
path: root/main/mosh/fix-ppc64le-build-with-musl.patch
Commit message (Collapse)AuthorAgeFilesLines
* main/mosh: fix build with musl on ppc64leRoberto Oliveira2017-04-041-0/+53
mosh was breaking when building in ppc64le using musl, because ioctl() is defined as ioctl(int, int) in musl and mosh is using TIOCSWINSZ macro as parameter. This was triggering a gcc warning and make the build fail. This patch does an explicit integer conversion in TIOCSWINSZ, as no bits get lost.