diff options
author | Jim Meyering <jim@meyering.net> | 2000-04-05 15:00:11 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-04-05 15:00:11 +0000 |
commit | ff9b9b202cb23ec65c89cdd2ccf32cb27b183a7f (patch) | |
tree | cf9594a4ac69039f5699b6e1b5031226523a1cf4 | |
parent | 594b06988b3627d992d8d468e13f4db5cf61a7dd (diff) | |
download | coreutils-ff9b9b202cb23ec65c89cdd2ccf32cb27b183a7f.tar.xz |
Include sys/types.h before sys/stat.h.
Required for ultrix4.3.
-rw-r--r-- | lib/readutmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <stdio.h> +#include <sys/types.h> #include <sys/stat.h> #if defined(STDC_HEADERS) || defined(HAVE_STRING_H) # include <string.h> @@ -129,4 +130,4 @@ read_utmp (const char *filename, int *n_entries, STRUCT_UTMP **utmp_buf) return 0; } -#endif /* HAVE_UTMPNAME */ +#endif |