summaryrefslogtreecommitdiff
path: root/lib/dup-safer-flag.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dup-safer-flag.c')
-rw-r--r--lib/dup-safer-flag.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/dup-safer-flag.c b/lib/dup-safer-flag.c
index e922b91..8a09821 100644
--- a/lib/dup-safer-flag.c
+++ b/lib/dup-safer-flag.c
@@ -1,7 +1,7 @@
/* Duplicate a file descriptor result, avoiding clobbering
STD{IN,OUT,ERR}_FILENO, with specific flags.
- Copyright (C) 2001, 2004-2006, 2009-2011 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2004-2006, 2009-2013 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
@@ -26,8 +26,6 @@
#include <fcntl.h>
#include <unistd.h>
-#include "cloexec.h"
-
/* Like dup, but do not return STDIN_FILENO, STDOUT_FILENO, or
STDERR_FILENO. If FLAG contains O_CLOEXEC, behave like
fcntl(F_DUPFD_CLOEXEC) rather than fcntl(F_DUPFD). */