--- we_fl_unix.c.orig Fri Nov 5 13:39:59 1999 +++ we_fl_unix.c Fri Nov 5 13:41:52 1999 @@ -12,6 +12,9 @@ #include #include #include +#if (defined(__unix__) || defined(unix)) && !defined(USG) +#include +#endif struct dirfile *e_make_win_list(FENSTER * f); extern char *e_tmp_dir; @@ -3538,7 +3541,13 @@ if(getenv("MANPATH")) strcpy(manpath, getenv("MANPATH")); if(manpath[0] == '\0') - strcpy(manpath, "/usr/man:/usr/local/man"); + strcpy(manpath, +#if (defined(BSD) && (BSD >= 199306)) || (defined(sun) && defined(__svr4__)) + "/usr/share/man:/usr/local/man"); +#else + "/usr/man:/usr/local/man"); +#endif + while(manpath[i]) { for(n = 0; (subpath[n] = manpath[i]) && manpath[i] != PTHD; i++, n++);