X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Freadutmp.h;h=6f512fad646664b139470d12ef36674a45d09f42;hb=7e3abbd47249138beefb283c6f63126c0eb46412;hp=5a08fdab41c028acb12ac9a0c07c1b7a2e55139f;hpb=a9dbf48d7c5cd3fc1a0f72188585c37dd715069e;p=gnulib.git diff --git a/lib/readutmp.h b/lib/readutmp.h index 5a08fdab4..6f512fad6 100644 --- a/lib/readutmp.h +++ b/lib/readutmp.h @@ -31,6 +31,10 @@ # include # ifdef HAVE_UTMPX_H +# ifdef HAVE_UTMP_H + /* HPUX 10.20 needs utmp.h, for the definition of e.g., UTMP_FILE. */ +# include +# endif # include # define UTMP_STRUCT_NAME utmpx # define UT_TIME_MEMBER(UT_PTR) ((UT_PTR)->ut_tv.tv_sec)