fixed struct ucred handling for android

This commit is contained in:
gardners 2012-05-03 12:18:26 +09:30
parent 5b85520f75
commit f1c6b74235

View File

@ -26,11 +26,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "serval.h"
#include <sys/stat.h>
/* Need a better way to do this! */
#ifndef ANDROID
struct ucred {
pid_t pid;
uid_t uid;
gid_t gid;
};
#endif
/* really shouldn't need more than 2:
1 for rhizome