diff options
Diffstat (limited to 'lib/readutmp.c')
-rw-r--r-- | lib/readutmp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/readutmp.c b/lib/readutmp.c index 91d341a96..ed5889308 100644 --- a/lib/readutmp.c +++ b/lib/readutmp.c @@ -27,9 +27,12 @@ #include <stdlib.h> #include "readutmp.h" -#include "unlocked-io.h" #include "xalloc.h" +#if USE_UNLOCKED_IO +# include "unlocked-io.h" +#endif + /* Copy UT->ut_name into storage obtained from malloc. Then remove any trailing spaces from the copy, NUL terminate it, and return the copy. */ |