• Ondrej Holy's avatar
    dav: Fix build without Avahi support · 0c89894f
    Ondrej Holy authored
    The recent commits break build when Avahi support is disabled. Let's add
    the missing ifdef directive and move some variable declarations to fix
    the build. Part of this change was originally proposed by the reporter of
    #621.
    
    Fixes: #621
    0c89894f