mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-04-13 22:03:09 +00:00
fixed struct ucred handling for android
This commit is contained in:
parent
5b85520f75
commit
f1c6b74235
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user