Follow-up to 37953d0 (fixes compile error)

- Fixes bugreport:8058, thanks to ossi0110, KeiKun, Beret
  http://hercules.ws/board/tracker/issue-8058-compiling-error-latest-rev/

Signed-off-by: Haru <haru@dotalux.com>