From e1bf326a99b682d4572bc03a823a00eac694a1c7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 2 Mar 2000 09:04:06 +0000 Subject: (getlogin, ttyname, geteuid): Declare them here, if needed. --- src/sys2.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2