The Independent JPEG Group's JPEG software v6b
diff --git a/jmemmgr.c b/jmemmgr.c
index 5ea19ce..d801b32 100644
--- a/jmemmgr.c
+++ b/jmemmgr.c
@@ -1,7 +1,7 @@
/*
* jmemmgr.c
*
- * Copyright (C) 1991-1996, Thomas G. Lane.
+ * Copyright (C) 1991-1997, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
@@ -1076,6 +1076,9 @@
mem->pub.free_pool = free_pool;
mem->pub.self_destruct = self_destruct;
+ /* Make MAX_ALLOC_CHUNK accessible to other modules */
+ mem->pub.max_alloc_chunk = MAX_ALLOC_CHUNK;
+
/* Initialize working state */
mem->pub.max_memory_to_use = max_to_use;