Declare getdns_error as extern