]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
make work without json
authorMark Andrews <marka@isc.org>
Thu, 14 Mar 2013 00:12:27 +0000 (11:12 +1100)
committerMark Andrews <marka@isc.org>
Thu, 14 Mar 2013 00:12:27 +0000 (11:12 +1100)
lib/isc/unix/socket.c

index 0dc52f690e6057a62b66410ca6ce8932868ce851..b288a9cd5cc1cebb23cef2223ad523252302a715 100644 (file)
@@ -5965,7 +5965,7 @@ isc__socket_getfd(isc_socket_t *socket0) {
 
 #ifdef BIND9
 
-#if defined(HAVE_LIBXML2) && defined(HAVE_JSON)
+#if defined(HAVE_LIBXML2) || defined(HAVE_JSON)
 static const char *
 _socktype(isc_sockettype_t type)
 {