provide getlogin declaration if needed.
* configure.ac: Check for getlogin decl. * libguile/posix.c: Declare getlogin if needed.
This commit is contained in:
parent
aa59904eae
commit
94c53e0601
2 changed files with 8 additions and 1 deletions
|
|
@ -919,7 +919,7 @@ AC_DEFUN([GUILE_FUNC_DECLARED], [
|
|||
GUILE_FUNC_DECLARED(sleep, unistd.h)
|
||||
GUILE_FUNC_DECLARED(usleep, unistd.h)
|
||||
|
||||
AC_CHECK_DECLS([alarm])
|
||||
AC_CHECK_DECLS([getlogin alarm])
|
||||
|
||||
AC_CHECK_DECLS([strptime],,,
|
||||
[#define _GNU_SOURCE /* ask glibc to give strptime prototype */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue