#include <time.h>
#include <avahi-client/client.h>
+#include <avahi-client/lookup.h>
+
#include <avahi-common/simple-watch.h>
#include <avahi-common/malloc.h>
#include <avahi-common/error.h>
break;
case AVAHI_RESOLVER_FOUND: {
- char a[128], *t;
+ char a[AVAHI_ADDRESS_STR_MAX], *t;
fprintf(stderr, "Service '%s' of type '%s' in domain '%s':\n", name, type, domain);