summaryrefslogtreecommitdiffstats
path: root/src/imageutils/transupp.c
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-21 18:25:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-22 16:56:58 +0900
commitd51c6eed799d182e335d5fcea5571fc678dcef6a (patch)
tree6a0a2990f056c9c2b1d2b29cefb44fa7d04edc81 /src/imageutils/transupp.c
parent9cb3d5b8ca59cd78bc47e04d6a84aa20ddc63c56 (diff)
downloadgwenview-master.tar.gz
gwenview-master.zip
Fix FTBFS on OMV. This resolves issue #38HEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/imageutils/transupp.c')
-rw-r--r--src/imageutils/transupp.c28
1 files changed, 8 insertions, 20 deletions
diff --git a/src/imageutils/transupp.c b/src/imageutils/transupp.c
index 0ede0db..8003c48 100644
--- a/src/imageutils/transupp.c
+++ b/src/imageutils/transupp.c
@@ -1,8 +1,16 @@
#include <stdlib.h>
#include <stdio.h>
#include <jpeglib.h>
+#include <jpegint.h>
#include <jerror.h>
+/* Although this file really shouldn't have access to the library internals,
+ * it's helpful to let it call jround_up() and jcopy_block_row(). */
+#define JPEG_INTERNALS
+
+#include "jinclude.h"
+#include "transupp.h" /* My own external interface */
+
#if JPEG_LIB_VERSION >= 80
/*
@@ -19,14 +27,6 @@
* interfaces.
*/
-/* Although this file really shouldn't have access to the library internals,
- * it's helpful to let it call jround_up() and jcopy_block_row().
- */
-#define JPEG_INTERNALS
-
-#include "jinclude.h"
-#include "jpeglib.h"
-#include "transupp.h" /* My own external interface */
#include <ctype.h> /* to declare isdigit() */
@@ -1591,8 +1591,6 @@ jcopy_markers_execute (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
#else // JPEG_LIB_VERSION >= 80
-#include <jpegint.h>
-
/*
* transupp.c
*
@@ -1607,16 +1605,6 @@ jcopy_markers_execute (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
* interfaces.
*/
-/* Although this file really shouldn't have access to the library internals,
- * it's helpful to let it call jround_up() and jcopy_block_row().
- */
-#define JPEG_INTERNALS
-
-#include "jinclude.h"
-#include "jpeglib.h"
-#include "transupp.h" /* My own external interface */
-
-
#if TRANSFORMS_SUPPORTED
/*