Skip to content
Commit dbd134ca authored by Khem Raj's avatar Khem Raj Committed by Marius Vlad
Browse files

libweston,tools: Include libgen.h for basename signature

Latest musl has removed the declaration from string.h [1] as it only
implements POSIX version alone and string.h in glibc implements GNU
version of basename. This now results in compile errors on musl.

This might be a warning with older compilers but it is error with
Clang-17+ as it treats -Wimplicit-function-declaration as error

Switch the use in backlight_init function to use POSIX version

[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7



Signed-off-by: default avatarKhem Raj <raj.khem@gmail.com>
parent 336f7fab
Loading
Loading
Loading
Pipeline #1060116 passed with stages
in 4 minutes and 12 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment