X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Freadutmp.c;h=0f844e84497025cf49bd6e2b70e7c74d0d547559;hb=c3edfc411c57b3bd4f12a09674f143651990c1f2;hp=91d341a96ad3ae44073f27174bcd859a3f07f9e8;hpb=a62be9f4039b4499cfbb76e394cad2259d03fa84;p=gnulib.git diff --git a/lib/readutmp.c b/lib/readutmp.c index 91d341a96..0f844e844 100644 --- a/lib/readutmp.c +++ b/lib/readutmp.c @@ -19,6 +19,9 @@ #include +#include "readutmp.h" + +#include #include #include @@ -26,10 +29,12 @@ #include #include -#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. */