From e6aa0ebbef7c0fef7971950b8ea9dac725b263e5 Mon Sep 17 00:00:00 2001 From: Hal Finkel <hfinkel@anl.gov> Date: Fri, 28 Sep 2018 16:48:47 -0500 Subject: [PATCH] add stddef.h for ptrdiff_t --- thirdparty/SZ/sz/src/sz_double.c | 1 + thirdparty/SZ/sz/src/sz_float.c | 1 + 2 files changed, 2 insertions(+) diff --git a/thirdparty/SZ/sz/src/sz_double.c b/thirdparty/SZ/sz/src/sz_double.c index d8bf875..ac70c15 100644 --- a/thirdparty/SZ/sz/src/sz_double.c +++ b/thirdparty/SZ/sz/src/sz_double.c @@ -10,6 +10,7 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <unistd.h> #include <math.h> diff --git a/thirdparty/SZ/sz/src/sz_float.c b/thirdparty/SZ/sz/src/sz_float.c index 74d7f20..365f99a 100644 --- a/thirdparty/SZ/sz/src/sz_float.c +++ b/thirdparty/SZ/sz/src/sz_float.c @@ -10,6 +10,7 @@ #include <stdio.h> #include <stdlib.h> +#include <stddef.h> #include <string.h> #include <unistd.h> #include <math.h> -- GitLab