Copy the header files from netbsd
Add ppc support