Merge pull request #2225 from xdel/master

Fix compilation against rtrlib with ssh
This commit is contained in:
Donald Sharp 2018-05-13 13:14:22 -04:00 committed by GitHub
commit c02bcc728b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * 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 <zebra.h>
#include <pthread.h> #include <pthread.h>
#include <time.h> #include <time.h>