--- cxterm/Imakefile.orig	Wed Sep 13 00:31:42 1995
+++ cxterm/Imakefile	Fri May 14 01:01:43 2004
@@ -23,7 +23,7 @@
          PTYLIB = -lpucc
 #endif
 
-        DEFINES = -DKXTERM -DHANZI $(X_COMPATIBLE_FLAGS)
+        DEFINES = -DKXTERM -DHANZI -DHAVE_SYS_ERR $(X_COMPATIBLE_FLAGS)
 
  OSMAJORVERSION = OSMajorVersion
  OSMINORVERSION = OSMinorVersion
