X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetlogin_r.h;h=3b304acda11a3895b5671fa9ceca02ed63249453;hb=0a2c2d3bdc0d6661e52559c775ac3165f1bcee5e;hp=cfc9db3fb229d33540c1f1b0e6d753518538388e;hpb=4cd40eed210c4e43d3f741f17e6c4263f41d0c5f;p=gnulib.git diff --git a/lib/getlogin_r.h b/lib/getlogin_r.h index cfc9db3fb..3b304acda 100644 --- a/lib/getlogin_r.h +++ b/lib/getlogin_r.h @@ -18,11 +18,9 @@ /* Written by Paul Eggert and Derek Price. */ -#if HAVE_UNISTD_H -# include -#endif +#include +#include -#if !HAVE_DECL_GETLOGIN_R /* Copies the user's login name to NAME. The array pointed to by NAME has room for SIZE bytes. @@ -30,8 +28,8 @@ the case that the login name cannot be found but no specific error is provided (this case is hopefully rare but is left open by the POSIX spec). - See . + See . */ -# include +#if !HAVE_DECL_GETLOGIN_R int getlogin_r (char *name, size_t size); #endif