diff options
-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 |