summaryrefslogtreecommitdiff
path: root/src/libpiano/crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpiano/crypt.h')
-rw-r--r--src/libpiano/crypt.h3
1 files changed, 3 insertions, 0 deletions
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 <gcrypt.h>
char *PianoDecryptString (gcry_cipher_hd_t, const char * const,