From a456afefb13486e442be0cc6205b70e527d8f60b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 5 Apr 2000 15:00:11 +0000 Subject: [PATCH] Include sys/types.h before sys/stat.h. Required for ultrix4.3. --- lib/readutmp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/readutmp.c b/lib/readutmp.c index e14408add..29b24a550 100644 --- a/lib/readutmp.c +++ b/lib/readutmp.c @@ -21,6 +21,7 @@ #include +#include #include #if defined(STDC_HEADERS) || defined(HAVE_STRING_H) # include @@ -129,4 +130,4 @@ read_utmp (const char *filename, int *n_entries, STRUCT_UTMP **utmp_buf) return 0; } -#endif /* HAVE_UTMPNAME */ +#endif -- 2.11.0