Index: webrtc/pc/externalhmac.cc |
diff --git a/webrtc/pc/externalhmac.cc b/webrtc/pc/externalhmac.cc |
index 8eeec111b1fa1723188b81db1417982268a41a2f..d88cfdc7ec3a3e134102b5f274d04709cec6e3a9 100644 |
--- a/webrtc/pc/externalhmac.cc |
+++ b/webrtc/pc/externalhmac.cc |
@@ -15,8 +15,13 @@ |
#include <stdlib.h> // For malloc/free. |
extern "C" { |
+#ifdef SRTP_RELATIVE_PATH |
+#include "crypto_kernel.h" // NOLINT |
+#include "srtp.h" // NOLINT |
+#else |
#include "third_party/libsrtp/srtp/crypto/include/crypto_kernel.h" |
#include "third_party/libsrtp/srtp/include/srtp.h" |
+#endif // SRTP_RELATIVE_PATH |
} |
#include "webrtc/base/logging.h" |