diff options
author | Vyacheslav Trushkin <me@dogonthesun.net> | 2011-11-30 21:03:44 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-12-13 14:26:45 +0400 |
commit | 3414d03545205eda9fb47890e01b780485a613c6 (patch) | |
tree | cee18b7543db0e84c41446c6f1b55a484da14374 /lib | |
parent | b51146856e660bcec723f535c17dc1c38b2f6efc (diff) |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zclient.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/zclient.c b/lib/zclient.c index 3d5be918..a5d5b7ff 100644 --- a/lib/zclient.c +++ b/lib/zclient.c @@ -179,7 +179,7 @@ zclient_socket(void) return sock; } -#endif /* HAVE_TCP_ZEBRA */ +#else /* For sockaddr_un. */ #include <sys/un.h> @@ -214,6 +214,8 @@ zclient_socket_un (const char *path) return sock; } +#endif /* HAVE_TCP_ZEBRA */ + /** * Connect to zebra daemon. * @param zclient a pointer to zclient structure |