diff options
-rw-r--r-- | doc/HISTORY | 3 | ||||
-rw-r--r-- | lib/util/vasprintf.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/HISTORY b/doc/HISTORY index 3b839f59..e42e656d 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -23,6 +23,9 @@ not yet BJH Release 10.55.00 as they no longer refer to private members of the pnginfo structure. + Build: fix undefined "strsol" failure on systems without + vasprintf(). Introduced in 10.53. + configure: fix selection of mingw compiler. Introduced in 10.48. diff --git a/lib/util/vasprintf.c b/lib/util/vasprintf.c index b9cc6a2f..34ed8e73 100644 --- a/lib/util/vasprintf.c +++ b/lib/util/vasprintf.c @@ -44,7 +44,7 @@ pm_vasprintf(const char ** const resultP, result = malloc(allocSize); if (result == NULL) - *resultP = strsol; + *resultP = pm_strsol; else { size_t realLen; |