On Thu, 12 Apr 2001, Bart Schaefer wrote: > Ignoring my patch in 13962, which was the right fix for my local variant > of Vin's symptoms but not for the actual bug report, here's the complete > change: Even with these changes, I can no longer build zsh under Solaris 2.6 (x86). The biggest problem is that you can't include term.h without first including curses.h (since term.h needs the SGTTY macro defined). So, I moved the include of curses.h into Sys/system.h, and had to put it before the inclusion of termios.h (or else the sgtty structure would not get completely defined). THEN, term.h defines several lower-case macros that interfere with variable names in zsh, so I had to undef "tab", "lines", and "columns". And if that weren't enough, I had to change the name of the "move" function pointer in files.c because curses.h defined a move() macro (though I suppose I could have undef'ed that too). Finally, just to get rid of a superfluous warning, I decided to make the supplemental function gethostbyname2() not be defined "static" since Solaris actually defines the prototype for this function but then doesn't seem to include it in a library anywhere. I haven't checked this in yet. Comments? ..wayne..