diff options
author | Martin Lang <67915889+lang-m@users.noreply.github.com> | 2024-02-22 11:23:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-22 03:23:59 -0700 |
commit | 3ebaf339153918c5801199e4bb583e1ab88ee651 (patch) | |
tree | e0f3e7da462876b56c4304ee0a3e47a7a3b9b024 /lib | |
parent | e8d981b405406a16597332990673e2e7b5e24137 (diff) | |
download | spack-3ebaf339153918c5801199e4bb583e1ab88ee651.tar.gz spack-3ebaf339153918c5801199e4bb583e1ab88ee651.tar.bz2 spack-3ebaf339153918c5801199e4bb583e1ab88ee651.tar.xz spack-3ebaf339153918c5801199e4bb583e1ab88ee651.zip |
libgd: fix INT_MAX not defined (#42104)
Compiling version 2.2.4 fails (on a Debian system with only a minimum set of packages installed) with an error because `INT_MAX` is undeclared:
```
263 gd_gd2.c: In function '_gd2GetHeader':
>> 264 gd_gd2.c:212:54: error: 'INT_MAX' undeclared (first use in this function)
265 212 | if (*ncx <= 0 || *ncy <= 0 || *ncx > INT_MAX / *ncy) {
266 | ^~~~~~~
267 gd_gd2.c:87:1: note: 'INT_MAX' is defined in header '<limits.h>'; did you forget to '#include <limits.h>'?
```
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions