Skip to content

Fix clang build failure due to undefined group_member reference

Sakeeb Sabakka requested to merge clang_build into master

Description

The group_member() call used in the recent merge is causing clang builds to fail as the API is only available with glibc. This change is to fix the build failures if the library does not support it. As per the group_member man page, _GNU_SOURCE can be used for feature testing.

Merge request reports