X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fresolve-host-name.c;h=50fbcf838f4eb0adbca0712a0b9a55ce93e764b0;hb=5d047523c87ba11aad8c384f7ffde25b4dd746ed;hp=c18722d19dc59b1b09a8749e12b34025387bfc91;hpb=0632e854728e8e64552ae08f90852d4a2658539e;p=catta diff --git a/avahi-core/resolve-host-name.c b/avahi-core/resolve-host-name.c index c18722d..50fbcf8 100644 --- a/avahi-core/resolve-host-name.c +++ b/avahi-core/resolve-host-name.c @@ -23,8 +23,9 @@ #include #endif +#include +#include #include "browse.h" -#include "util.h" struct AvahiHostNameResolver { AvahiServer *server; @@ -107,7 +108,7 @@ static void time_event_callback(AvahiTimeEvent *e, void *userdata) { AvahiHostNameResolver *avahi_host_name_resolver_new(AvahiServer *server, AvahiIfIndex interface, AvahiProtocol protocol, const gchar *host_name, guchar aprotocol, AvahiHostNameResolverCallback callback, gpointer userdata) { AvahiHostNameResolver *r; AvahiKey *k; - GTimeVal tv; + struct timeval tv; g_assert(server); g_assert(host_name);