typedservice: include cstring