Add legacy include guards to public header files
[oweals/openssl.git] / include / openssl / srtp.h
index 2a00d08879b6631c13e5f984bd849fb12caccbb1..32056cb280d408eff5da6275fc2358a099075409 100644 (file)
  * Copyright (C) 2006, Network Resonance, Inc. Copyright (C) 2011, RTFM, Inc.
  */
 
-#ifndef HEADER_D1_SRTP_H
-# define HEADER_D1_SRTP_H
+#ifndef OPENSSL_SRTP_H
+# define OPENSSL_SRTP_H
+# pragma once
+
+# include <openssl/macros.h>
+# if !OPENSSL_API_3
+#  define HEADER_D1_SRTP_H
+# endif
 
 # include <openssl/ssl.h>