Added a couple of includes to get this to compile on Sparc.