fix LOG_* usage / add header
try to fix compile