summaryrefslogtreecommitdiffstats
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-08-04 08:52:07 +0200
committerGitHub <noreply@github.com>2017-08-04 08:52:07 +0200
commit3619938e2fba87a7600ad3febf551e6ef3dc611e (patch)
treec26123c30a3cd84eaafd827b0b8c5c3e4f3f3941 /lib/zebra.h
parentMerge pull request #900 from qlyoung/apply-mask (diff)
parentconfig: Disable pimd on OpenBSD 6.1 (diff)
downloadfrr-3619938e2fba87a7600ad3febf551e6ef3dc611e.tar.xz
frr-3619938e2fba87a7600ad3febf551e6ef3dc611e.zip
Merge pull request #891 from Jafaral/portability
Portability configurations
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index c31fe0809..6d64bbd67 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -126,6 +126,13 @@ typedef unsigned char u_int8_t;
#define __APPLE_USE_RFC_3542
#endif
+#ifndef HAVE_LIBCRYPT
+# ifdef HAVE_LIBCRYPTO
+# include <openssl/des.h>
+# define crypt DES_crypt
+# endif
+#endif
+
#include "openbsd-tree.h"
#include <netinet/in.h>