On Mar 6, 2002, Andrew Cagney wrote: > I don't know that this belongs in defs.h (definitly not without a big > comment explaining the history :-). As you note, gdb doesn't include > tclInt.h, only GDBTK. I suspect gdbtk/generic/gdbtk.h or autoconf is > better? It would be a silly use of autoconf, since gdb just assumes stdarg.h is there. As for its not including tclInt.h, it's true that gdb itself does not, but some of the gdbtk files include tk, itcl and tix headers that end up including tclInt.h. Unfortunately, they include gdbtk.h only after including such headers, so adding a define in gdbtk.h would be too late. I agree we should try to keep gdbtk as separate from gdb as possible, but I thought this define would be ok, since gdb's configure already has code to look for tcl/tk. Anyway, here's an alternate patch that I dislike a bit on the grounds that it doesn't make sure the problem won't show up again in the future, and it won't trigger any warnings should gdb proper ever drop the assumption that stdarg.h is present (unlikely, but... :-) Ok to install? Verified to build with OSF4.0's cc.