From 7f1a2002142dfcda3cbada729d4fbe961b3bc7bb Mon Sep 17 00:00:00 2001
From: Nat Goodspeed <nat@lindenlab.com>
Date: Tue, 29 Oct 2019 07:32:10 -0400
Subject: [PATCH] DRTVWR-476: On Windows, dup2() et al. need <io.h>

---
 indra/llcommon/llerror.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp
index a8e14817745..457965b1fd0 100644
--- a/indra/llcommon/llerror.cpp
+++ b/indra/llcommon/llerror.cpp
@@ -39,6 +39,8 @@
 #if !LL_WINDOWS
 # include <syslog.h>
 # include <unistd.h>
+#else
+# include <io.h>
 #endif // !LL_WINDOWS
 #include <vector>
 #include "string.h"
-- 
GitLab