fixed some linux portability errors
Authored by: hellcatv 2006-01-10
Parent: [r10068]
Child: [r10070]