More IP includes and fixup.

More fixup of spatches for plan 9, and more tweaking of include files and such.

Need to understand how time works, and still don't have prototypes,
but this is still moving ahead.

Also, add the seprintf function, which is just plain handy.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>