Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Include compat.h to find uid_t/gid_t/gidlist when cross compiling
This change is necessary to prevent the following type of messages (and compile failures) when cross-compiling: /src/include/cephfs/libcephfs.h:148:29: error: 'uid_t' was not declared in this scope; did you mean 'pid_t'? 148 | UserPerm *ceph_userperm_new(uid_t uid, gid_t gid, int ngids, gid_t *gidlist); | ^~~~~ | pid_t /home/abuild/rpmbuild/BUILD/ceph-15.1.0-1521-gcdf35413a0/src/include/cephfs/libcephfs.h:148:40: error: 'gid_t' was not declared in this scope; did you mean 'pid_t'? 148 | UserPerm *ceph_userperm_new(uid_t uid, gid_t gid, int ngids, gid_t *gidlist); | ^~~~~ | pid_t Signed-off-by: Mike Latimer <[email protected]>
- Loading branch information