diff options
author | Jordan Abrahams-Whitehead <ajordanr@google.com> | 2023-05-16 18:52:19 +0000 |
---|---|---|
committer | Albert Astals Cid <tsdgeos@yahoo.es> | 2023-05-16 18:52:19 +0000 |
commit | 2986f06c7cc9d64a506ebe861b8bf38f73386e86 (patch) | |
tree | 4312347f60775ce73a130a49b3544d18022eb9fc | |
parent | 26199bd53fbe7a0d5b00f8586e66d6702e324e5e (diff) |
Add missing #include <cstdio> prior to jpeglib.h
Fixes #1398
-rw-r--r-- | goo/JpegWriter.cc | 2 | ||||
-rw-r--r-- | poppler/ImageEmbeddingUtils.cc | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/goo/JpegWriter.cc b/goo/JpegWriter.cc index ca69fd05..566ee38f 100644 --- a/goo/JpegWriter.cc +++ b/goo/JpegWriter.cc @@ -23,7 +23,7 @@ #ifdef ENABLE_LIBJPEG # include "poppler/Error.h" - +# include <cstdio> extern "C" { # include <jpeglib.h> } diff --git a/poppler/ImageEmbeddingUtils.cc b/poppler/ImageEmbeddingUtils.cc index 0c13fe96..07b9dfb6 100644 --- a/poppler/ImageEmbeddingUtils.cc +++ b/poppler/ImageEmbeddingUtils.cc @@ -14,6 +14,7 @@ #include <memory> #ifdef ENABLE_LIBJPEG +# include <cstdio> extern "C" { # include <jpeglib.h> } |