lot of casts, added prototypes, missing includes and some true errors
#ifdef HAVE_CONFIG_H #include <config.h> #endif added to these files. Kent -- mein@cs.umn.edu