strdup is an extention to the C standard, timerclear originates from
the BSDs. GNU libc exposes both by default but musl libc requires a
feature flag to get them defined and thus fix libkcompactdisc's
build.
Details
Details
- Reviewers
mpyne - Commits
- R349:c7f9a029ab76: Define _BSD_SOURCE for strdup and timerclear
Builds fine with glibc and musl libcs.
Diff Detail
Diff Detail
- Repository
- R349 KCompactDisc Library
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.