projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(jm_INCLUDED_REGEX): Add a test for the latest bug.
[gnulib.git]
/
lib
/
readutmp.c
diff --git
a/lib/readutmp.c
b/lib/readutmp.c
index
e14408a
..
29b24a5
100644
(file)
--- a/
lib/readutmp.c
+++ b/
lib/readutmp.c
@@
-21,6
+21,7
@@
#include <stdio.h>
#include <stdio.h>
+#include <sys/types.h>
#include <sys/stat.h>
#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
# include <string.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;
}
return 0;
}
-#endif
/* HAVE_UTMPNAME */
+#endif