X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetlogin_r.c;h=55190f0758058eb589b60de0fbaef95001093f0b;hb=bbdcfead98c6d3536215c3f0f603e4f92a28d26b;hp=d269b92238c25b090669c731c0f39a3fffe94ca5;hpb=3c2b29eec6c095fdf0191419badac3b945d71b82;p=gnulib.git diff --git a/lib/getlogin_r.c b/lib/getlogin_r.c index d269b9223..55190f075 100644 --- a/lib/getlogin_r.c +++ b/lib/getlogin_r.c @@ -1,6 +1,6 @@ /* Provide a working getlogin_r for systems which lack it. - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,18 +18,13 @@ /* written by Paul Eggert and Derek Price */ -#if HAVE_CONFIG_H -# include -#endif +#include #include "getlogin_r.h" #include #include - -#if HAVE_UNISTD_H -# include -#endif +#include #if !HAVE_DECL_GETLOGIN char *getlogin (void);