Check attached build log.
Created attachment 174960 [details] Build log
Created attachment 174970 [details, diff] Patch to fix missing includes That's a no-brainer: The usual missing #include's.
Thanks for the patch, applied now. I would ask if you sent this upstream but given that upstream seems dead I'm not sure if there was much point. Still would be nice if you could attach it on a tracker upstream if one exists.
*** Bug 227041 has been marked as a duplicate of this bug. ***