summaryrefslogtreecommitdiff
path: root/src/libpiano/crypt.h
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-06-08 11:25:38 -0300
committerWilliam Grzybowski <wg@FreeBSD.org>2013-06-08 11:25:38 -0300
commita1e73fc8d72a5253cae29c9bab5b260ad297c5e2 (patch)
tree21558395c9edd26b755f18b89af9038aa67387f4 /src/libpiano/crypt.h
parent8aa75818da31e69fb71cc558cc9e9a34e50318ab (diff)
downloadpianobar-a1e73fc8d72a5253cae29c9bab5b260ad297c5e2.tar.gz
pianobar-a1e73fc8d72a5253cae29c9bab5b260ad297c5e2.tar.bz2
pianobar-a1e73fc8d72a5253cae29c9bab5b260ad297c5e2.zip
Fix build in FreeBSD
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,