Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
package/attr: add missing libgen.h header
Resolves the following error when building against MUSL: tools/attr.c: In function 'main': tools/attr.c:69:20: error: implicit declaration of function 'basename' [-Wimplicit-function-declaration] 69 | progname = basename(argv[0]); | ^~~~~~~~ tools/attr.c:69:18: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 69 | progname = basename(argv[0]); | ^ Upstream: https://git.savannah.nongnu.org/cgit/attr.git/commit/?id=8a80d895dfd779373363c3a4b62ecce5a549efb2 Fixes: http://autobuild.buildroot.net/results/c61206968eda9913e37e95a61dc3e10399503fcd/ Signed-off-by: Yegor Yefremov <[email protected]> [Romain: use upstream patch] Signed-off-by: Romain Naour <[email protected]>
- Loading branch information