Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / support / macros.c
index d2cf5e7bcdbb95922b01c51f2200283350af380d..e15fa76b7edb0a35774956c4e1070f10e366fd35 100644 (file)
@@ -9,6 +9,7 @@
 #include <dirent.h>
 #include <string.h>
 #include <glib.h>
+#include "mph.h" /* Don't remove or move after map.h! Works around issues with Android SDK unified headers */
 #include "map.h"
 
 int wifexited (int status)
@@ -100,6 +101,15 @@ char *helper_Mono_Posix_readdir(void *dir) {
 }
 
 #if HAVE_GETPWNAM_R
+int helper_Mono_Posix_getpwnamuid (int mode, char *in_name, int in_uid,
+       char **account,
+       char **password,
+       int *uid,
+       int *gid,
+       char **name,
+       char **home,
+       char **shell);
+
 int helper_Mono_Posix_getpwnamuid (int mode, char *in_name, int in_uid,
        char **account,
        char **password,