diff options
Diffstat (limited to 'src/w.c')
-rw-r--r-- | src/w.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -45,7 +45,10 @@ #include <time.h> #include <unistd.h> #ifdef HAVE_UTMPX_H -# include <utmpx.h> +#include <utmpx.h> +#ifndef HAVE_UT_HOSTSIZE_IN_UTMPX +#include <utmp.h> +#endif #else # include <utmp.h> #endif |