diff --git a/test/default/sodium_utils2.c b/test/default/sodium_utils2.c index 7f336687..83221f8d 100644 --- a/test/default/sodium_utils2.c +++ b/test/default/sodium_utils2.c @@ -6,6 +6,9 @@ #ifdef HAVE_CATCHABLE_SEGV # include #endif +#ifndef _WIN32 +# include +#endif #define TEST_NAME "sodium_utils2" #include "cmptest.h" @@ -36,7 +39,7 @@ segv_handler(int sig) signal(SIGABRT, SIG_DFL); # endif #endif - exit(0); + _exit(0); } int diff --git a/test/default/sodium_utils3.c b/test/default/sodium_utils3.c index 3bba037a..8eacc44d 100644 --- a/test/default/sodium_utils3.c +++ b/test/default/sodium_utils3.c @@ -6,6 +6,9 @@ #ifdef HAVE_CATCHABLE_SEGV # include #endif +#ifndef _WIN32 +# include +#endif #define TEST_NAME "sodium_utils3" #include "cmptest.h" @@ -32,7 +35,7 @@ segv_handler(int sig) signal(SIGABRT, SIG_DFL); # endif #endif - exit(0); + _exit(0); } int