diff options
author | David Lamparter <equinox@diac24.net> | 2017-08-04 08:52:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-04 08:52:07 +0200 |
commit | 3619938e2fba87a7600ad3febf551e6ef3dc611e (patch) | |
tree | c26123c30a3cd84eaafd827b0b8c5c3e4f3f3941 /lib | |
parent | Merge pull request #900 from qlyoung/apply-mask (diff) | |
parent | config: Disable pimd on OpenBSD 6.1 (diff) | |
download | frr-3619938e2fba87a7600ad3febf551e6ef3dc611e.tar.xz frr-3619938e2fba87a7600ad3febf551e6ef3dc611e.zip |
Merge pull request #891 from Jafaral/portability
Portability configurations
Diffstat (limited to 'lib')
-rw-r--r-- | lib/zebra.h | 7 |
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> |