Fixed Bug #7771

http://hercules.ws/board/tracker/issue-7771-compiling-errors/
Signed-off-by: shennetsind <ind@henn.et>