shithub: jbig2

Download patch

ref: 3c7c73d634dda170455d3cd7a1ef08a038e63cbb
parent: d1a03359b9f267714f60662dc021eef4054ae202
author: Ralph Giles <giles@ghostscript.com>
date: Wed Apr 15 20:08:49 EDT 2009

Add a missing include in the halftone code.

jbig2_decode_pattern_dict() calls jbig2_decode_generic_mmr() but
wasn't including jbig2_mmr.h which declares that function.

Fixes a compiler warning on gcc and clang.

--- a/jbig2_halftone.c
+++ b/jbig2_halftone.c
@@ -26,7 +26,7 @@
 #include "jbig2_priv.h"
 #include "jbig2_arith.h"
 #include "jbig2_generic.h"
-
+#include "jbig2_mmr.h"
 
 typedef struct {
   int n_patterns;