From: Marek Olšák <marek.ol...@amd.com> --- tests/util/piglit-util.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/tests/util/piglit-util.c b/tests/util/piglit-util.c index ed7d21c95..01207ffa5 100644 --- a/tests/util/piglit-util.c +++ b/tests/util/piglit-util.c @@ -58,20 +58,21 @@ # include <sys/types.h> # include <sys/stat.h> # include <fcntl.h> # include <unistd.h> #else # define USE_STDIO #endif #if defined(HAVE_UNISTD_H) #include <unistd.h> // for usleep +#define exit _exit /* skip atexit callbacks and other deinitializations */ #endif #include "piglit-util.h" #ifndef HAVE_ASPRINTF /* Some versions of MinGW are missing _vscprintf's declaration, although they * still provide the symbol in the import library. */ -- 2.17.0 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit