summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/pwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/pwd.h')
-rw-r--r--newlib/libc/include/pwd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/pwd.h b/newlib/libc/include/pwd.h
index 59d6ab555..27b21f877 100644
--- a/newlib/libc/include/pwd.h
+++ b/newlib/libc/include/pwd.h
@@ -58,6 +58,7 @@ struct passwd {
char *pw_shell; /* default shell */
};
+#ifndef __INSIDE_CYGWIN__
struct passwd *getpwuid (uid_t);
struct passwd *getpwnam (const char *);
int getpwnam_r (const char *, struct passwd *,
@@ -69,6 +70,7 @@ struct passwd *getpwent (void);
void setpwent (void);
void endpwent (void);
#endif
+#endif
#ifdef __cplusplus
}