summaryrefslogtreecommitdiff
path: root/src/libpiano/piano.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpiano/piano.h')
-rw-r--r--src/libpiano/piano.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libpiano/piano.h b/src/libpiano/piano.h
index a5eb87f..dc05250 100644
--- a/src/libpiano/piano.h
+++ b/src/libpiano/piano.h
@@ -25,6 +25,9 @@ THE SOFTWARE.
#define _PIANO_H
#include <stdbool.h>
+#ifdef __FreeBSD__
+#define _GCRYPT_IN_LIBGCRYPT
+#endif
#include <gcrypt.h>
/* this is our public API; don't expect this api to be stable as long as