Index: screen.h
--- screen.h.orig
+++ screen.h
@@ -288,6 +288,10 @@ struct baud_values
   int sym;	/* symbol defined in ttydev.h */
 };
 
+#ifdef IPC_EXPORT_IMAGE
+extern char *shm;		  /* pointer to shared memory segment */
+#endif
+
 /*
  * windowlist orders
  */
