From: Jim Meyering Date: Thu, 2 Mar 2000 09:04:06 +0000 (+0000) Subject: (getlogin, ttyname, geteuid): Declare them here, if needed. X-Git-Tag: TEXTUTILS-2_0e~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1bf326a99b682d4572bc03a823a00eac694a1c7;p=thirdparty%2Fcoreutils.git (getlogin, ttyname, geteuid): Declare them here, if needed. --- diff --git a/src/sys2.h b/src/sys2.h index bc88f96d6b..89af5bbcc8 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