Fixed Bug 7906

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