Define HAVE_ZEROCONF if Avahi or Bonjour support is enabled, so that we can

silence a warning about an unused variable without using stupid checks for
HAVE_AVAHI || HAVE_BONJOUR.

git-svn-id: https://svn.musicpd.org/mpd/trunk@6471 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
J. Alexander Treuman
2007-06-03 19:44:19 +00:00
parent ab14f8a3c7
commit d5596a1cf0
2 changed files with 5 additions and 1 deletions

View File

@@ -40,8 +40,10 @@
static int zeroconfEnabled;
#ifdef HAVE_ZEROCONF
static struct ioOps zeroConfIo = {
};
#endif
#ifdef HAVE_BONJOUR
#include <dns_sd.h>