summaryrefslogtreecommitdiff
path: root/vcl/source/filter/jpeg/JpegWriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter/jpeg/JpegWriter.cxx')
-rw-r--r--vcl/source/filter/jpeg/JpegWriter.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/filter/jpeg/JpegWriter.cxx b/vcl/source/filter/jpeg/JpegWriter.cxx
index d99e46e4d8b1..0098957a5995 100644
--- a/vcl/source/filter/jpeg/JpegWriter.cxx
+++ b/vcl/source/filter/jpeg/JpegWriter.cxx
@@ -32,6 +32,8 @@
#define BUFFER_SIZE 4096
+namespace {
+
struct DestinationManagerStruct
{
jpeg_destination_mgr pub; /* public fields */
@@ -39,6 +41,8 @@ struct DestinationManagerStruct
JOCTET * buffer; /* start of buffer */
};
+}
+
extern "C" {
static void init_destination (j_compress_ptr cinfo)