From: Jim Meyering Date: Wed, 5 Apr 2000 15:00:11 +0000 (+0000) Subject: Include sys/types.h before sys/stat.h. X-Git-Tag: FILEUTILS-4_0r~118 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff9b9b202cb23ec65c89cdd2ccf32cb27b183a7f;p=thirdparty%2Fcoreutils.git Include sys/types.h before sys/stat.h. Required for ultrix4.3. --- diff --git a/lib/readutmp.c b/lib/readutmp.c index e14408add8..29b24a5507 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