[vlc-devel] [PATCH 2/6] clock_internal.h: Protect against double inclusion
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Thu Dec 3 15:33:45 CET 2020
---
src/clock/clock_internal.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/clock/clock_internal.h b/src/clock/clock_internal.h
index 15aca0bbd0..0e4c63bd82 100644
--- a/src/clock/clock_internal.h
+++ b/src/clock/clock_internal.h
@@ -21,6 +21,9 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#ifndef CLOCK_INTERNAL_H
+# define CLOCK_INTERNAL_H
+
#include <vlc_common.h>
/*****************************************************************************
@@ -60,3 +63,4 @@ static inline clock_point_t clock_point_Create(vlc_tick_t system, vlc_tick_t str
return (clock_point_t) { .system = system, .stream = stream };
}
+#endif
\ No newline at end of file
--
2.29.2
More information about the vlc-devel
mailing list