X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fdup2.c;h=f581d855de378d7c05a544a1ca2b3d52d346104a;hb=fc86a0be1b68e4b24d9249d763d33701b3a81623;hp=d934da15da8a471143a95937aef5910c0aa03f20;hpb=222b0486b7db1b09293e05512873d633440efcb3;p=gnulib.git diff --git a/lib/dup2.c b/lib/dup2.c index d934da15d..f581d855d 100644 --- a/lib/dup2.c +++ b/lib/dup2.c @@ -1,5 +1,5 @@ /* Duplicate an open file descriptor to a specified file descriptor. - Copyright (C) 1999, 2004 Free Software Foundation, Inc. + Copyright (C) 1999, 2004, 2005 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 @@ -22,12 +22,8 @@ #endif #include - #include - -#if HAVE_UNISTD_H -# include -#endif +#include #ifndef F_DUPFD static int