projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
968fbdf
)
Include sys/types.h before sys/stat.h.
author
Jim Meyering
<jim@meyering.net>
Wed, 5 Apr 2000 15:00:11 +0000
(15:00 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 5 Apr 2000 15:00:11 +0000
(15:00 +0000)
Required for ultrix4.3.
lib/readutmp.c
patch
|
blob
|
history
diff --git
a/lib/readutmp.c
b/lib/readutmp.c
index e14408add8a75738c8e2bd8acd11b583d2a9c2cc..29b24a550796005a8b058c2c06933a4d27bd04b2 100644
(file)
--- 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