]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <unistd.h> for declaration of close.
authorJim Meyering <jim@meyering.net>
Sun, 3 Jul 2005 09:07:22 +0000 (09:07 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 3 Jul 2005 09:07:22 +0000 (09:07 +0000)
lib/fd-reopen.c

index a33d23d4589f565b871a4c6f9b3ac6cc04257026..28a1b9ec4d90b04f243245c151e82a8d03ecac2e 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#include <unistd.h>
 
 /* Open a file to a particular file descriptor.  This is like standard
    `open', except it always returns DESIRED_FD if successful.  */