diff --git a/libs/srtp/crypto/include/crypto_math.h b/libs/srtp/crypto/include/crypto_math.h index 5ddf4d5f42..52f083721d 100644 --- a/libs/srtp/crypto/include/crypto_math.h +++ b/libs/srtp/crypto/include/crypto_math.h @@ -46,10 +46,6 @@ #define MATH_H #include "datatypes.h" -#ifndef SRTP_KERNEL -# include -#endif - unsigned char v32_weight(v32_t a); diff --git a/libs/srtp/crypto/include/datatypes.h b/libs/srtp/crypto/include/datatypes.h index 055f4b7cac..6f18e9ebbf 100644 --- a/libs/srtp/crypto/include/datatypes.h +++ b/libs/srtp/crypto/include/datatypes.h @@ -53,6 +53,7 @@ #include #ifndef SRTP_KERNEL +# include # include # include # ifdef HAVE_NETINET_IN_H diff --git a/libs/srtp/crypto/kernel/crypto_kernel.c b/libs/srtp/crypto/kernel/crypto_kernel.c index 4d7ff0f284..90c4a3073a 100644 --- a/libs/srtp/crypto/kernel/crypto_kernel.c +++ b/libs/srtp/crypto/kernel/crypto_kernel.c @@ -46,9 +46,6 @@ #include "alloc.h" #include "crypto_kernel.h" -#ifndef SRTP_KERNEL -# include -#endif /* the debug module for the crypto_kernel */ diff --git a/libs/srtp/crypto/kernel/err.c b/libs/srtp/crypto/kernel/err.c index f16bbfda91..6b00e7b877 100644 --- a/libs/srtp/crypto/kernel/err.c +++ b/libs/srtp/crypto/kernel/err.c @@ -43,9 +43,6 @@ */ #include "err.h" -#ifndef SRTP_KERNEL -# include -#endif #ifdef ERR_REPORTING_SYSLOG # ifdef HAVE_SYSLOG_H