Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libarchive: Define _GNU_SOURCE when checking for types
In glibc certain types such as `id_t` are gated behind checks for `__USE_XOPEN` and similar defines that are set set when `_GNU_SOURCE` is defines which is done by libarchive's cmake `config.h.in`. Without this, the types visible to meson during the checks and the compiler during compilation can differ resulting in these types can be defined twice which can cause compilation errors.
- Loading branch information