#include <grp.h>
#include <pwd.h>
#include <TargetConditionals.h>
-#if !TARGET_OS_EMBEDDED
#include <membership.h>
#include <membershipPriv.h>
-#endif
#include <uuid/uuid.h>
#endif
static char *
uuid_to_name(uuid_t *uu)
{
-#if TARGET_OS_EMBEDDED
- return strdup("<UNKNOWN>");
-#else /* !TARGET_OS_EMBEDDED */
int type;
char *name = NULL;
char *recname = NULL;
uuid_unparse_upper(*uu, name);
return name;
-#endif /* !TARGET_OS_EMBEDDED */
}
static void