shithub: jbig2

Download patch

ref: a2cb3337c3f559fc65d3122d649386c797fbc949
parent: 4369688dfbf2235ed466f38af4ddd11ab781ceaf
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Sun Jun 10 03:03:08 EDT 2001

updated includes for the jbig2dec.h name change


git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@20 ded80894-8fb9-0310-811b-c03f3676ab4d

--- a/jbig2_arith.c
+++ b/jbig2_arith.c
@@ -1,7 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "jbig2.h"
+#include "jbig2dec.h"
 #include "jbig2_arith.h"
 
 #ifdef DEBUG
--- a/jbig2_huffman.c
+++ b/jbig2_huffman.c
@@ -2,7 +2,7 @@
 
 #include <stdlib.h>
 
-#include "jbig2.h"
+#include "jbig2dec.h"
 #include "jbig2_huffman.h"
 
 #define JBIG2_HUFFMAN_FLAGS_ISOOB 1
--- a/jbig2dec.c
+++ b/jbig2dec.c
@@ -2,7 +2,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include "jbig2.h"
+#include "jbig2dec.h"
 
 typedef struct _Jbig2SegmentHeader Jbig2SegmentHeader;
 typedef struct _Jbig2SymbolDictionary Jbig2SymbolDictionary;
--- a/makefile
+++ b/makefile
@@ -1,8 +1,8 @@
 CFLAGS=-Wall -g
 
-all:	jbig2 test_arith test_huffman
+all:	jbig2dec test_arith test_huffman
 
-jbig2:	jbig2.o jbig2_huffman.o jbig2_arith.o
+jbig2dec:	jbig2dec.o jbig2_huffman.o jbig2_arith.o
 
 test_huffman:	jbig2_huffman.c
 	gcc $(CFLAGS) -DTEST jbig2_huffman.c -o test_huffman