namedb: fix missing typedef