From: Dylan Baker Date: Tue, 22 May 2018 22:32:22 +0000 (-0700) Subject: glsl/tests: define ssize_t on windows X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5eb0f33e4f45becb02fb0dfe46d6855837312341;p=mesa.git glsl/tests: define ssize_t on windows Reviewed-by: Eric Anholt --- diff --git a/src/compiler/glsl/tests/blob_test.c b/src/compiler/glsl/tests/blob_test.c index 1cc97236e7e..21b8b1efdc1 100644 --- a/src/compiler/glsl/tests/blob_test.c +++ b/src/compiler/glsl/tests/blob_test.c @@ -28,6 +28,10 @@ #include #include #include +#ifdef _MSC_VER +#include +typedef SSIZE_T ssize_t; +#endif #include "util/ralloc.h" #include "blob.h"