/* Rename a file relative to open directories.
- Copyright (C) 2009-2010 Free Software Foundation, Inc.
+ Copyright (C) 2009-2011 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
#include <config.h>
-/* Solaris 10, which predates POSIX-2008, declares its renameat in
- unistd.h. Include unistd.h before including stdio.h, so that
- gnulib's stdio.h doesn't #define renameat to rpl_renameat before
- Solaris 10's unistd.h declares the system renameat. */
-#include <unistd.h>
-
#include <stdio.h>
#if HAVE_RENAMEAT