diff --git a/src/test/test_crypto_openssl.c b/src/test/test_crypto_openssl.c
index 1d31ad027915caa5ea2dea35528eaa360101b75c..b1a5613eaff6fe0a18244fba108151ca30053ad6 100644
--- a/src/test/test_crypto_openssl.c
+++ b/src/test/test_crypto_openssl.c
@@ -10,6 +10,7 @@
 #include "lib/crypt_ops/compat_openssl.h"
 #include "lib/crypt_ops/crypto_rand.h"
 #include "lib/encoding/binascii.h"
+#include "lib/malloc/util_malloc.h"
 #include "test/test.h"
 
 #include <openssl/evp.h>