summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2017-11-17 22:09:28 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2017-11-18 11:04:08 +0100
commit5a7101e54002188770441fb2fd9f64a00bb661c6 (patch)
treee505b204a210f4dc5911c879bbb11e8bd8a30a01 /src/ipcpd
parent3fc5c6532f1a56f27310fb733a089e1064716b10 (diff)
downloadouroboros-5a7101e54002188770441fb2fd9f64a00bb661c6.tar.gz
ouroboros-5a7101e54002188770441fb2fd9f64a00bb661c6.zip
build: Define HAVE_LIBGCRYPT for IPCPs
The HAVE_LIBGCRYPT variable was not defined for IPCPs, causing them to call the gcrypt functions with the wrong values for the enum. Signed-off-by: Dimitri Staessens <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/config.h.in b/src/ipcpd/config.h.in
index f09c3c2c..39be449d 100644
--- a/src/ipcpd/config.h.in
+++ b/src/ipcpd/config.h.in
@@ -35,6 +35,8 @@
#define IPCP_MIN_THREADS @IPCP_MIN_THREADS@
#define IPCP_ADD_THREADS @IPCP_ADD_THREADS@
+#cmakedefine HAVE_LIBGCRYPT
+
/* normal IPCP */
#define QOS_PRIO_BE @IPCP_QOS_CUBE_BE_PRIO@
#define QOS_PRIO_VIDEO @IPCP_QOS_CUBE_VIDEO_PRIO@