summaryrefslogtreecommitdiffstats
path: root/libgnu/dup.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgnu/dup.c')
-rw-r--r--libgnu/dup.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libgnu/dup.c b/libgnu/dup.c
index 819e9e37..51136db8 100644
--- a/libgnu/dup.c
+++ b/libgnu/dup.c
@@ -1,6 +1,6 @@
/* Duplicate an open file descriptor.
- Copyright (C) 2011-2017 Free Software Foundation, Inc.
+ Copyright (C) 2011-2018 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
@@ -13,7 +13,7 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>. */
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
@@ -22,7 +22,9 @@
#include <errno.h>
-#include "msvc-inval.h"
+#if HAVE_MSVC_INVALID_PARAMETER_HANDLER
+# include "msvc-inval.h"
+#endif
#undef dup