/* Duplicate an open file descriptor to a specified file descriptor.
- Copyright (C) 1999, 2004, 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2004, 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
#include <config.h>
+/* Specification. */
+#include <unistd.h>
+
#include <errno.h>
#include <fcntl.h>
-#include <unistd.h>
#ifndef F_DUPFD
static int