diff options
author | Jim Meyering <jim@meyering.net> | 2000-03-02 09:04:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-03-02 09:04:06 +0000 |
commit | e1bf326a99b682d4572bc03a823a00eac694a1c7 (patch) | |
tree | e99034d21272820ca17e7ee484dc67e6329bda26 | |
parent | ddfcfb0da34f4409ea66e945d5878ab86b5cc49a (diff) | |
download | coreutils-e1bf326a99b682d4572bc03a823a00eac694a1c7.tar.xz |
(getlogin, ttyname, geteuid): Declare them here, if needed.
-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 |