diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sys2.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h index bc88f96d6..89af5bbcc 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -305,6 +305,18 @@ unsigned long strtoul (); unsigned long long strtoull (); #endif +#if !HAVE_DECL_GETLOGIN +char *getlogin (); +#endif + +#if !HAVE_DECL_TTYNAME +char *ttyname (); +#endif + +#if !HAVE_DECL_GETEUID +uid_t geteuid (); +#endif + #include "xalloc.h" #if ! defined HAVE_MEMPCPY && ! defined mempcpy |