X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Freadutmp.h;h=5a08fdab41c028acb12ac9a0c07c1b7a2e55139f;hb=cecb452e2ed6f2bcf2f9b216b8930b2de373e445;hp=3d4ef253d40878cf53f6bed4a2661ea24582bda9;hpb=54e6da3dfa8dd464cf37dc0cb6a038e590fe421e;p=gnulib.git 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 +# 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