mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-10-28 15:15:08 +03:00
[HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent.
This commit is contained in:
@@ -42,6 +42,9 @@
|
||||
# endif
|
||||
# else
|
||||
# include <utmp.h>
|
||||
# if !HAVE_DECL_GETUTENT
|
||||
struct utmp *getutent();
|
||||
# endif
|
||||
# define UTMP_STRUCT_NAME utmp
|
||||
# define UT_TIME_MEMBER(UT_PTR) ((UT_PTR)->ut_time)
|
||||
# define SET_UTMP_ENT setutent
|
||||
|
||||
Reference in New Issue
Block a user