• Roberto Oliveira's avatar
    main/mosh: fix build with musl on ppc64le · 17ee07c9
    Roberto Oliveira authored
    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.
    17ee07c9
fix-ppc64le-build-with-musl.patch 1.71 KB