summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index bec61a8a230..5e05c19c624 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -111,6 +111,8 @@ char pot_etags_version[] = "@(#) pot revision number is 17.38.1.4";
# undef HAVE_NTGUI
# undef DOS_NT
# define DOS_NT
+/* The WINDOWSNT build doesn't use Gnulib's fcntl.h. */
+# define O_CLOEXEC O_NOINHERIT
#endif /* WINDOWSNT */
#include <limits.h>