mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 13:00:26 +02:00
Work around lack of cuserid(3) declaration on Tru64 5.1b.
* configure.in: Check for a cuserid(3) declaration. * libguile/posix.c [HAVE_CUSERID][!HAVE_DECL_CUSERID]: Provide a declaration.
This commit is contained in:
parent
d2469ca702
commit
fbcc27cfef
2 changed files with 8 additions and 1 deletions
|
@ -1675,6 +1675,11 @@ SCM_DEFINE (scm_getlogin, "getlogin", 0, 0, 0,
|
|||
#endif /* HAVE_GETLOGIN */
|
||||
|
||||
#if HAVE_CUSERID
|
||||
|
||||
# if !HAVE_DECL_CUSERID
|
||||
extern char *cuserid (char *);
|
||||
# endif
|
||||
|
||||
SCM_DEFINE (scm_cuserid, "cuserid", 0, 0, 0,
|
||||
(void),
|
||||
"Return a string containing a user name associated with the\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue