diff options
author | Rickard Green <[email protected]> | 2016-05-27 10:42:44 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-05-27 10:42:44 +0200 |
commit | d7519ca4a1834fdcdcc3ee9d7adeb8df5a45600d (patch) | |
tree | f3a2a2d2fd18ea155885cd921923f0dc8026e995 /erts/emulator/test/dirty_nif_SUITE_data | |
parent | f0510a55fdc2591ea71107f77e36d6fc7b001874 (diff) | |
download | otp-d7519ca4a1834fdcdcc3ee9d7adeb8df5a45600d.tar.gz otp-d7519ca4a1834fdcdcc3ee9d7adeb8df5a45600d.tar.bz2 otp-d7519ca4a1834fdcdcc3ee9d7adeb8df5a45600d.zip |
Fix windows
Diffstat (limited to 'erts/emulator/test/dirty_nif_SUITE_data')
-rw-r--r-- | erts/emulator/test/dirty_nif_SUITE_data/dirty_nif_SUITE.c | 4 |
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 |