--- lcx11.cxx.orig	Fri Feb 26 02:17:54 1999
+++ lcx11.cxx	Tue Nov 19 05:35:40 2002
@@ -3,6 +3,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 #include <math.h>
 #ifdef IRIX
@@ -715,7 +716,7 @@
 #ifdef USE_IMAGES
   Fgl_putbox_low (display.win, 0, 0,
 		  x1, y1, x2 - x1, y2 - y1,
-		  pixmap, (640 + BORDERX),
+		  (unsigned char*)pixmap, (640 + BORDERX),
 		  x1, y1);
 #else
   int x, y;
