Some includes are missing, patch is appended
Created attachment 190839 [details, diff] Fix compilation with gcc-4.4
Fixed, thanks.