Oops, fix ANSI C syntax error introduced in last patch.
[gnulib.git] / lib / dup2.c
index d934da1..8894481 100644 (file)
@@ -1,5 +1,6 @@
 /* Duplicate an open file descriptor to a specified file descriptor.
-   Copyright (C) 1999, 2004 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
 
 /* written by Paul Eggert */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
-#include <errno.h>
+/* Specification.  */
+#include <unistd.h>
 
+#include <errno.h>
 #include <fcntl.h>
 
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
 #ifndef F_DUPFD
 static int
 dupfd (int fd, int desired_fd)