TTK-qmmp / qmmp-psf

Input plugin for qmmp to play psf modules
GNU General Public License v3.0
0 stars 0 forks source link

[Build Issue] gzguts missing unistd.h? #2

Open OdinVex opened 1 week ago

OdinVex commented 1 week ago

I've needed to include unistd.h in ./libpsf/zlib/gzguts.h recently, otherwise a number of functions aren't defined (for Linux, Mac). There's code in ./libpsf/zlib/zconf.h that uses it unistd.h though.

Greedysky commented 1 week ago

em... I have no such problem on Ubuntu Linux, maybe you have to send an issue to https://github.com/madler/zlib.

OdinVex commented 1 week ago

It may be something specific to Manjaro/Arch-based. I maintain the AUR qmmp-pfs-git package. It compiled before when using commit 06f2d36 (long ago, though) but I updated the version to 12e0d3e and now it appeared, so maybe it's distro-related or yes, perhaps zlib. Which version of zlib are you using?

Edit: Found an Issue on zlib, may be related, will follow up when I have some free time: https://github.com/madler/zlib/issues/923