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