diff options
| -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 | 
