X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetlogin_r.c;h=55190f0758058eb589b60de0fbaef95001093f0b;hb=bbdcfead98c6d3536215c3f0f603e4f92a28d26b;hp=b9b76c64b255d6c7089c3ec0ec4a7c10c0f32f96;hpb=222b0486b7db1b09293e05512873d633440efcb3;p=gnulib.git diff --git a/lib/getlogin_r.c b/lib/getlogin_r.c index b9b76c64b..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 */ -#ifdef 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);