Fixed Bug 7832

http://hercules.ws/board/tracker/issue-7832-compile-issue/
Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules