summaryrefslogtreecommitdiff
path: root/lib/cloexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cloexec.h')
-rw-r--r--lib/cloexec.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/cloexec.h b/lib/cloexec.h
index 7a22d7753..057fd668c 100644
--- a/lib/cloexec.h
+++ b/lib/cloexec.h
@@ -1,6 +1,6 @@
/* cloexec.c - set or clear the close-on-exec descriptor flag
- Copyright (C) 2004, 2009-2022 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2009-2023 Free Software Foundation, Inc.
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
@@ -15,8 +15,6 @@
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. */
-#include <stdbool.h>
-
/* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true,
or clear the flag if VALUE is false.
Return 0 on success, or -1 on error with 'errno' set.