On Tue, 26 Sep 2000, Werner Trobin wrote: > Hi! > > Currently konsole breaks with --enable-final because > TEPty.C #defines _XOPEN_SOURCE (for grantpt() and Cie.) > before #including stdlib.h. > Of course there are other places (before) where this > file is included and therefore defining that symbol in > this file doesn't really help ;) > > My "fix" would be to copy this #if foo #define stuff > to every place stdlib gets included, but I'm sure > there's a better solution. > > Coolo? Michael? stdlib.h is relativly strange with respect to the pty stuff. I can offer to remove _XOPEN_SOURCE and put the three function headers in literally, which would be ok, since they are protected by configure. I'd be more happy if there'd be any other solution. Lars