Code on the master branch would not build on the latest libpng.
Removed deprecated libpng struct errors. It will now build on the latest libpng.
See Section II of the libpng manual for more information.
It would be cool to see this merged in.
Merge branch 'master' of https://github.com/squiffy/xpwn