diff --git a/.gitattributes b/.gitattributes
index 6c2d5e3ed0dc65eeac693250f899c6b1e8585d54..30a4d9102ee5110a307d3604467bbc75a9d06151 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -190,7 +190,7 @@ testfont binary
 /src/modules/Image/operator.c foreign_ident
 /src/modules/Image/orient.c foreign_ident
 /src/modules/Image/pattern.c foreign_ident
-/src/modules/Image/pnm.c foreign_ident
+/src/modules/Image/pnm_compat.c foreign_ident
 /src/modules/Image/polyfill.c foreign_ident
 /src/modules/Image/togif.c foreign_ident
 /src/modules/Image/x.c foreign_ident
diff --git a/src/modules/Image/Makefile.in b/src/modules/Image/Makefile.in
index 3547a4f9516a9657bae331d20700b9ff6ad3715c..f8b1b95abaaf2c7988a15c3cf77120436e9f3a35 100644
--- a/src/modules/Image/Makefile.in
+++ b/src/modules/Image/Makefile.in
@@ -1,7 +1,7 @@
-# $Id: Makefile.in,v 1.19 1999/03/01 21:47:47 hedda Exp $
+# $Id: Makefile.in,v 1.20 1999/03/11 18:49:32 grubba Exp $
 SRCDIR=@srcdir@
 VPATH=@srcdir@:@srcdir@/../..:../..
-OBJS = image.o font.o togif.o matrix.o pnm.o blit.o \
+OBJS = image.o font.o togif.o matrix.o pnm_compat.o blit.o \
 	pattern.o dct.o operator.o x.o colortable.o polyfill.o \
 	orient.o colors.o search.o
 MODNAME=image
diff --git a/src/modules/Image/pnm.c b/src/modules/Image/pnm_compat.c
similarity index 92%
rename from src/modules/Image/pnm.c
rename to src/modules/Image/pnm_compat.c
index bc0c5cc5a3e672350975e750a1cc8c74a91bef8d..9eaed973c9ffd2e93654e12a33f412ab04a9de74 100644
--- a/src/modules/Image/pnm.c
+++ b/src/modules/Image/pnm_compat.c
@@ -1,9 +1,9 @@
-/* $Id: pnm.c,v 1.10 1998/04/20 18:53:32 grubba Exp $ */
+/* $Id: pnm_compat.c,v 1.1 1999/03/11 18:49:30 grubba Exp $ */
 
 /*
 **! module Image
 **! note
-**!	$Id: pnm.c,v 1.10 1998/04/20 18:53:32 grubba Exp $
+**!	$Id: pnm_compat.c,v 1.1 1999/03/11 18:49:30 grubba Exp $
 **! class image
 */