diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2020-09-16 17:33:30 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2020-09-22 18:00:45 +0100 |
commit | c4e79952b42ebccb669063e053e3d7ce0f88cc22 (patch) | |
tree | ebe5797e432d29dbcacbccfd5e429ce35f718c3a | |
parent | 71bbd0f12f48e1300a1e768483b5999099243f8d (diff) | |
download | ghostpdl-c4e79952b42ebccb669063e053e3d7ce0f88cc22.tar.gz |
Fix compile failure due to missing header.
A user reported (privately) that a pre-release of an upcoming XCode release
fails to compile due to a missing prototype/declation of abs() in the jpegxr
code. It's clearly a simple omission, as several files use abs() and do include
the relevant header.
So adding it here.
-rw-r--r-- | jpegxr/r_strip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jpegxr/r_strip.c b/jpegxr/r_strip.c index 062baf0c5..0c0e2df5a 100644 --- a/jpegxr/r_strip.c +++ b/jpegxr/r_strip.c @@ -46,6 +46,7 @@ #endif # include "jxr_priv.h" +# include <stdlib.h> # include <limits.h> # include <assert.h> # include <math.h> |