Fix compilation against rtrlib with ssh

Signed-off-by: Andrey Korolyov <andrey@xdel.ru>
This commit is contained in:
Andrey Korolyov 2018-05-13 13:36:50 +03:00
parent 05859298a3
commit 45c0bedaa5

View File

@ -25,6 +25,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/* If rtrlib compiled with ssh support, don`t fail build */
#define LIBSSH_LEGACY_0_4
#include <zebra.h>
#include <pthread.h>
#include <time.h>