Index: webrtc/pc/srtpfilter.cc |
diff --git a/webrtc/pc/srtpfilter.cc b/webrtc/pc/srtpfilter.cc |
index f1ecff1001a784b28cff9c8bd7f7d2ef82845d77..5e2dbb0eb6ca2e9b7b5ab9da12ffa7035ee1433b 100644 |
--- a/webrtc/pc/srtpfilter.cc |
+++ b/webrtc/pc/srtpfilter.cc |
@@ -14,6 +14,8 @@ |
#include <algorithm> |
+#include "third_party/libsrtp/include/srtp.h" |
+#include "third_party/libsrtp/include/srtp_priv.h" |
#include "webrtc/base/base64.h" |
#include "webrtc/base/buffer.h" |
#include "webrtc/base/byteorder.h" |
@@ -25,18 +27,6 @@ |
#include "webrtc/media/base/rtputils.h" |
#include "webrtc/pc/externalhmac.h" |
-#ifdef HAVE_SRTP |
-extern "C" { |
-#ifdef SRTP_RELATIVE_PATH |
-#include "srtp.h" // NOLINT |
-#include "srtp_priv.h" // NOLINT |
-#else |
-#include "third_party/libsrtp/include/srtp.h" |
-#include "third_party/libsrtp/include/srtp_priv.h" |
-#endif // SRTP_RELATIVE_PATH |
-} |
-#endif // HAVE_SRTP |
- |
namespace cricket { |
#ifndef HAVE_SRTP |