summaryrefslogtreecommitdiff
path: root/bsd-misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-misc.h')
-rw-r--r--bsd-misc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/bsd-misc.h b/bsd-misc.h
index 990dd408..fabaa00b 100644
--- a/bsd-misc.h
+++ b/bsd-misc.h
@@ -51,4 +51,17 @@ void setproctitle(const char *fmt, ...);
int setenv(const char *name, const char *value, int overwrite);
#endif /* !HAVE_SETENV */
+#ifndef HAVE_SETLOGIN
+int setlogin(const char *name);
+#endif /* !HAVE_SETLOGIN */
+
+#ifndef HAVE_INNETGR
+int innetgr(const char *netgroup, const char *host,
+ const char *user, const char *domain);
+#endif /* HAVE_INNETGR */
+
+#if !defined(HAVE_SETEUID) && defined(HAVE_SETREUID)
+int seteuid(uid_t euid);
+#endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */
+
#endif /* _BSD_MISC_H */