[FFmpeg-cvslog] avutil/macos_kperf: add missing header guards
James Almer
git at videolan.org
Wed Jul 21 01:01:40 EEST 2021
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Jul 20 19:01:02 2021 -0300| [f9d5050d287163e93543f51ce24855c3ad9df9fc] | committer: James Almer
avutil/macos_kperf: add missing header guards
Fixes fate-source
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f9d5050d287163e93543f51ce24855c3ad9df9fc
---
libavutil/macos_kperf.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libavutil/macos_kperf.h b/libavutil/macos_kperf.h
index a295824803..63b004214e 100644
--- a/libavutil/macos_kperf.h
+++ b/libavutil/macos_kperf.h
@@ -16,7 +16,12 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef AVUTIL_MACOS_KPERF_H
+#define AVUTIL_MACOS_KPERF_H
+
#include <stdint.h>
int ff_kperf_init(void);
uint64_t ff_kperf_cycles(void);
+
+#endif /* AVUTIL_MACOS_KPERF_H */
More information about the ffmpeg-cvslog
mailing list