--- Imakefile.orig	2000-06-13 21:55:44 UTC
+++ Imakefile
@@ -11,7 +11,7 @@
 
 
 INCLUDES =		-I. -I$(TOP) -I$(TOP)/X11 -I$(TOP)/X11/bitmaps
-LOCAL_LIBRARIES =	$(XLIB)
+LOCAL_LIBRARIES =	$(XLIB) -lcompat
 DEPLIBS =		$(DEPXLIB)
 LDLIBS =		-lm
 
