From e488db0c1edc14cea8f8b54f618db8b3c9837f1d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Tue, 24 Apr 2018 14:21:20 +0200
Subject: [PATCH] Stdio [NT]: Fixed warning on NT.

---
 src/modules/_Stdio/file.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/modules/_Stdio/file.c b/src/modules/_Stdio/file.c
index 4d96618712..9b308399b2 100644
--- a/src/modules/_Stdio/file.c
+++ b/src/modules/_Stdio/file.c
@@ -5762,7 +5762,9 @@ static void f_get_all_active_fd(INT32 args)
   pop_n_elems(args);
   sp = Pike_sp;
   {
+#ifndef __NT__
     DIR *tmp;
+#endif
     THREADS_ALLOW();
 #ifndef __NT__
     if( (tmp = opendir(
-- 
GitLab