doc/libvlc: include cstdio/cstdlib

They are the headers that should be used from C++.

+ set the SPDX license so it can be parsed easily.
This commit is contained in:
Steve Lhomme 2023-01-26 10:26:52 +01:00
parent f8e84a478f
commit 246d451260
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
//g++ sdl_opengl_player.cpp $(pkg-config --cflags --libs libvlc sdl2 gl)
/* Licence WTFPL */
/* SPDX-License-Identifier: WTFPL */
/* Written by Pierre Lamot */
#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
#include <exception>
#include <mutex>