diff --git a/res/res_srtp.c b/res/res_srtp.c
index 1077f2337028dc197763d118390d29b5ad8282ae..cda1291faabeab81585d3e7ac56ddb21e3e12e10 100644
--- a/res/res_srtp.c
+++ b/res/res_srtp.c
@@ -41,7 +41,6 @@
 
 #if HAVE_SRTP_VERSION > 1
 # include <srtp2/srtp.h>
-# include <srtp2/crypto_types.h>
 # include "srtp/srtp_compat.h"
 # include <openssl/rand.h>
 #else