diff options
author | Jim Meyering <jim@meyering.net> | 2000-04-05 15:05:54 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-04-05 15:05:54 +0000 |
commit | f7cfce8952b3ceaee3fef23a61c2d178e46dbcbb (patch) | |
tree | 533c546f87471722a531312de5108fdcdf364dcb /lib | |
parent | ff9b9b202cb23ec65c89cdd2ccf32cb27b183a7f (diff) | |
download | coreutils-f7cfce8952b3ceaee3fef23a61c2d178e46dbcbb.tar.xz |
[HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/readutmp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/readutmp.h b/lib/readutmp.h index 3d4ef253d..5a08fdab4 100644 --- a/lib/readutmp.h +++ b/lib/readutmp.h @@ -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 |