lshw
lshw copied to clipboard
musl support try 3
This pull request fixes compilation on linux systems using the musl c library.
The first commit has the same goal as the first commit in #19, but it addresses the issue that basename may modify its argument. The second commit is directly taken from #19.