From 5eb0f33e4f45becb02fb0dfe46d6855837312341 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 22 May 2018 15:32:22 -0700 Subject: [PATCH] glsl/tests: define ssize_t on windows Reviewed-by: Eric Anholt --- src/compiler/glsl/tests/blob_test.c | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.30.2