X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fgetlogin_r.c;h=dca47993ca8a41cca2f230c3b06f3ba3e5cccb15;hb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;hp=55190f0758058eb589b60de0fbaef95001093f0b;hpb=0632e115747ff96e93330c88f536d7354a7ce507;p=pspp diff --git a/lib/getlogin_r.c b/lib/getlogin_r.c index 55190f0758..dca47993ca 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, 2006 Free Software Foundation, Inc. + Copyright (C) 2005, 2006, 2007, 2009, 2010 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 @@ -20,17 +20,17 @@ #include -#include "getlogin_r.h" +/* Specification. */ +#include #include #include -#include #if !HAVE_DECL_GETLOGIN char *getlogin (void); #endif -/* See getlogin_r.h for documentation. */ +/* See unistd.in.h for documentation. */ int getlogin_r (char *name, size_t size) {