From: Guillem Jover Date: Mon, 12 Aug 2019 21:52:10 +0000 (+0200) Subject: Do not define SIZE_T_MAX if already defined X-Git-Tag: 0.11.0~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb445425ff4559070328410574b135dcda4a96e3;p=thirdparty%2Flibbsd.git Do not define SIZE_T_MAX if already defined --- diff --git a/src/nlist.c b/src/nlist.c index 228c220..d22fa19 100644 --- a/src/nlist.c +++ b/src/nlist.c @@ -43,7 +43,9 @@ #include "local-elf.h" +#ifndef SIZE_T_MAX #define SIZE_T_MAX 0xffffffffU +#endif /* Note: This function is used by libkvm0, so we need to export it. * It is not declared in the include files though. */