aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-05-27 10:42:44 +0200
committerRickard Green <[email protected]>2016-05-27 10:42:44 +0200
commitd7519ca4a1834fdcdcc3ee9d7adeb8df5a45600d (patch)
treef3a2a2d2fd18ea155885cd921923f0dc8026e995 /erts/emulator
parentf0510a55fdc2591ea71107f77e36d6fc7b001874 (diff)
downloadotp-d7519ca4a1834fdcdcc3ee9d7adeb8df5a45600d.tar.gz
otp-d7519ca4a1834fdcdcc3ee9d7adeb8df5a45600d.tar.bz2
otp-d7519ca4a1834fdcdcc3ee9d7adeb8df5a45600d.zip
Fix windows
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/test/dirty_nif_SUITE_data/dirty_nif_SUITE.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/test/dirty_nif_SUITE_data/dirty_nif_SUITE.c b/erts/emulator/test/dirty_nif_SUITE_data/dirty_nif_SUITE.c
index 2013c88167..155788dceb 100644
--- a/erts/emulator/test/dirty_nif_SUITE_data/dirty_nif_SUITE.c
+++ b/erts/emulator/test/dirty_nif_SUITE_data/dirty_nif_SUITE.c
@@ -19,7 +19,9 @@
*/
#include "erl_nif.h"
#include <assert.h>
-#ifndef __WIN32__
+#ifdef __WIN32__
+#include <windows.h>
+#else
#include <unistd.h>
#endif