diff options
author | Bruno Haible <bruno@clisp.org> | 2007-02-19 02:23:32 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-02-19 02:23:32 +0000 |
commit | d52c5b93a562113d859c264bbb92f5c0b8c5ae77 (patch) | |
tree | 8b462a9db5b2d6d3493a723e4555b9d6880378ea /lib/getlogin_r.c | |
parent | 41dccf6a007ea2fdc0eebd71f5bb3b73be43669f (diff) | |
download | gnulib-d52c5b93a562113d859c264bbb92f5c0b8c5ae77.tar.gz |
Move more declarations into <unistd.h>.
Diffstat (limited to 'lib/getlogin_r.c')
-rw-r--r-- | lib/getlogin_r.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/getlogin_r.c b/lib/getlogin_r.c index 55190f0758..67ad33f21d 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 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,11 +20,11 @@ #include <config.h> -#include "getlogin_r.h" +/* Specification. */ +#include <unistd.h> #include <errno.h> #include <string.h> -#include <unistd.h> #if !HAVE_DECL_GETLOGIN char *getlogin (void); |