From f1c6b742354bfe1b6f16d6a4fa516725e389d8b0 Mon Sep 17 00:00:00 2001 From: gardners Date: Thu, 3 May 2012 12:18:26 +0930 Subject: [PATCH] fixed struct ucred handling for android --- monitor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/monitor.c b/monitor.c index 3af18db3..540c967d 100644 --- a/monitor.c +++ b/monitor.c @@ -26,11 +26,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "serval.h" #include +/* 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