--- moreutils-0.67/sponge.c.orig 2021-12-21 20:39:00.000000000 +0100 +++ moreutils-0.67/sponge.c 2023-05-01 11:11:04.567344131 +0200 @@ -38,6 +38,7 @@ #include "physmem.c" +#define MAX(a, b) (((a) > (b)) ? (a) : (b)) #define BUFF_SIZE 8192 #define MIN_SPONGE_SIZE BUFF_SIZE char *tmpname = NULL;