From: Jim Meyering Date: Wed, 5 Apr 2000 15:00:11 +0000 (+0000) Subject: Include sys/types.h before sys/stat.h. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a456afefb13486e442be0cc6205b70e527d8f60b;p=pspp 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