The include guard "__H_QSTAT" does not fit to the expected naming conventions of the C language standard because identifiers with two leading underscores belong to the reserved namespace.
http://qstat.svn.sourceforge.net/viewvc/qstat/trunk/qstat2/qstat.h?revision=351&view=markup
http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1124.pdf
http://www.knosof.co.uk/cbook/
If this is still an issue please open a issue / pull request @ https://github.com/multiplay/qstat