From a1e73fc8d72a5253cae29c9bab5b260ad297c5e2 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Sat, 8 Jun 2013 11:25:38 -0300 Subject: Fix build in FreeBSD --- src/libpiano/crypt.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libpiano/crypt.h') diff --git a/src/libpiano/crypt.h b/src/libpiano/crypt.h index 59820e2..baede76 100644 --- a/src/libpiano/crypt.h +++ b/src/libpiano/crypt.h @@ -24,6 +24,9 @@ THE SOFTWARE. #ifndef _CRYPH_H #define _CRYPT_H +#ifdef __FreeBSD__ +#define _GCRYPT_IN_LIBGCRYPT +#endif #include char *PianoDecryptString (gcry_cipher_hd_t, const char * const, -- cgit v1.2.3