ehlo,
I checked some manual pages, where [ug]?id types are used and each manual page
suggest to include header file "sys/types.h". This header file was indirectly
included in some files on linux, but it is not portable.
man getgid
#include <unistd.h>
#include <sys/types.h>
gid_t getgid(void);
gid_t getegid(void);
-------------------------
man getpwuid
#include <sys/types.h>
#include <pwd.h>
struct passwd *getpwuid(uid_t uid);
Attached patch modify header file "sss_idmap.h". Should be version-info changed
for libsssidmap?
LS