lib: clearing zclient.c for some cases of building
lib/zclient.c: using of HAVE_TCP_ZEBRA in zclient_socket_*
definitions extended by else clause.
diff --git a/lib/zclient.c b/lib/zclient.c
index 3d5be91..a5d5b7f 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -179,7 +179,7 @@
return sock;
}
-#endif /* HAVE_TCP_ZEBRA */
+#else
/* For sockaddr_un. */
#include <sys/un.h>
@@ -214,6 +214,8 @@
return sock;
}
+#endif /* HAVE_TCP_ZEBRA */
+
/**
* Connect to zebra daemon.
* @param zclient a pointer to zclient structure