Daniel Berger wrote:
>
> I thought someone already answered this, but here it goes:
> 
> Edit dir.c and add this line somewhere near the top:
> 
> #ifndef MAXPATHLEN
> #define MAXPATHLEN 256
> #endif

Done.  I also had to do it with dln.c and file.c.  Now it gives a
bunch of other warnings and then an error in gc.c,

         cc -g -I. -I. -I/u/kleb/local/include -c gc.c
  [..]
CC-167 cc: ERROR File = gc.c, Line = 879
   Argument of type "VALUE" is incompatible with parameter of type "void *".

             RUBY_CRITICAL(free(RANY(obj)->as.node.u1.value));

-- 
Bil Kleb
NASA Langley Research Center
Hampton, Virginia, USA