diff -ur xosview-1.8.3.orig/linux/lmstemp.cc xosview-1.8.3/linux/lmstemp.cc --- xosview-1.8.3.orig/linux/lmstemp.cc 2006-02-18 07:13:07.000000000 +0200 +++ xosview-1.8.3/linux/lmstemp.cc 2009-08-06 18:45:10.000000000 +0300 @@ -29,7 +29,7 @@ << std::endl; parent_->done(1); } - char *p; + const char *p; if ((p = strrchr(caption,'/')) != 0) _highest = atoi(p+1); else diff -ur xosview-1.8.3.orig/xwin.cc xosview-1.8.3/xwin.cc --- xosview-1.8.3.orig/xwin.cc 2003-10-09 06:39:40.000000000 +0300 +++ xosview-1.8.3/xwin.cc 2009-08-06 18:44:33.000000000 +0300 @@ -3,6 +3,7 @@ // #include +#include #include #include #include "snprintf.h"