summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2019-10-29 07:32:10 -0400
committerNat Goodspeed <nat@lindenlab.com>2020-03-25 19:05:17 -0400
commit7f1a2002142dfcda3cbada729d4fbe961b3bc7bb (patch)
tree20408aa62e3b0e05b650137878160d332f9ee813 /indra/llcommon
parent07134aaee7a39f2141ee8f1e702aa0df989851df (diff)
DRTVWR-476: On Windows, dup2() et al. need <io.h>
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llerror.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp
index a8e1481774..457965b1fd 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"