X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetlogin_r.h;h=3b304acda11a3895b5671fa9ceca02ed63249453;hb=4c399534696c5acbe5ecb57c40f2b5841cb8320d;hp=88935401b87a65632bbdf6e73e106084fbd810d5;hpb=b81a408b19b23d79300fd456eee93bc7eda4b549;p=gnulib.git diff --git a/lib/getlogin_r.h b/lib/getlogin_r.h index 88935401b..3b304acda 100644 --- a/lib/getlogin_r.h +++ b/lib/getlogin_r.h @@ -19,10 +19,7 @@ /* Written by Paul Eggert and Derek Price. */ #include - -#if HAVE_UNISTD_H -# include -#endif +#include /* Copies the user's login name to NAME. The array pointed to by NAME has room for SIZE bytes. @@ -31,7 +28,7 @@ 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 . */ #if !HAVE_DECL_GETLOGIN_R int getlogin_r (char *name, size_t size);