[vlc-commits] clock_internal.h: Protect against double inclusion

Hugo Beauzée-Luyssen git at videolan.org
Fri Dec 4 10:43:21 UTC 2020


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Nov 26 06:03:48 2020 -0800| [ea6bd41a705b09ed772f6e22fa0630463e5fa7e2] | committer: Hugo Beauzée-Luyssen

clock_internal.h: Protect against double inclusion

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea6bd41a705b09ed772f6e22fa0630463e5fa7e2
---

 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



More information about the vlc-commits mailing list