summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/Modules/config.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/Mac/Modules/config.c b/Mac/Modules/config.c
index 8f5c16f..a802cb5 100644
--- a/Mac/Modules/config.c
+++ b/Mac/Modules/config.c
@@ -289,6 +289,18 @@ extern void initRes();
extern void initSnd();
extern void initWin();
+#define HAVE_IMG
+#ifdef HAVE_IMG
+extern void initimgcolormap();
+extern void initimgformat();
+extern void initimggif();
+extern void initimgjpeg();
+extern void initimgppm();
+extern void initimgpgm();
+extern void initimgtiff();
+extern void initimgop();
+#endif
+
/* -- ADDMODULE MARKER 1 -- */
extern void initmarshal();
@@ -346,6 +358,17 @@ struct {
{"Win", initWin},
{"Res", initRes},
+#ifdef HAVE_IMG
+ {"imgcolormap", initimgcolormap},
+ {"imgformat", initimgformat},
+ {"imggif", initimggif},
+ {"imgjpeg", initimgjpeg},
+ {"imgppm", initimgppm},
+ {"imgpgm", initimgpgm},
+ {"imgtiff", initimgtiff},
+ {"imgop", initimgop},
+#endif
+
/* -- ADDMODULE MARKER 2 -- */
/* This module "lives in" with marshal.c */