summaryrefslogtreecommitdiffstats
path: root/dnssd/publicservice.h
diff options
context:
space:
mode:
Diffstat (limited to 'dnssd/publicservice.h')
-rw-r--r--dnssd/publicservice.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dnssd/publicservice.h b/dnssd/publicservice.h
index ff090d354..31897a03e 100644
--- a/dnssd/publicservice.h
+++ b/dnssd/publicservice.h
@@ -23,7 +23,11 @@
#include <qobject.h>
#include <dnssd/servicebase.h>
+#ifdef HAVE_DNSSD
#include <avahi-client/client.h>
+#else
+#define AvahiClientState void*
+#endif
class KURL;
namespace DNSSD