diff --git a/tests/virnetdaemontest.c b/tests/virnetdaemontest.c index 24cbd54531a2d4dbb369d7acffb15ceb00395a64..e5d09a3ebc8a489886f6e36caf7d24b26d01e0a8 100644 --- a/tests/virnetdaemontest.c +++ b/tests/virnetdaemontest.c @@ -26,7 +26,7 @@ #define VIR_FROM_THIS VIR_FROM_RPC -#ifdef HAVE_SOCKETPAIR +#if defined(HAVE_SOCKETPAIR) && defined(WITH_YAJL) static virNetServerPtr testCreateServer(const char *host, int family) {