procenv icon indicating copy to clipboard operation
procenv copied to clipboard

Fix build on musl libc

Open listout opened this issue 1 year ago • 0 comments

On util.c the guard around #include sys/sysmacros.h prevents musl libc from including the file, even though musl provides the header file, thus failing with errors such as "call to undeclared function makedev".

In procenv.c although the function makedev is used but the file sysmacros.h was never included, thus resulting in similar "call to undeclared function makedev" error hence moving inclusion sysmacros.h to source file from header file.

listout avatar Jun 05 '23 14:06 listout