[vlc-commits] [Git][videolan/vlc][master] libvlc: use the local includes in vlc.h

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Mar 14 10:16:03 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
586e1cba by Steve Lhomme at 2023-03-14T09:53:54+00:00
libvlc: use the local includes in vlc.h

Do not allow messing with the include path and end up using other
includes.

Any C compiler should respect the "" meaning including local files
before looking in other pathes.

- - - - -


1 changed file:

- include/vlc/vlc.h


Changes:

=====================================
include/vlc/vlc.h
=====================================
@@ -36,18 +36,18 @@
 extern "C" {
 # endif
 
-#include <vlc/libvlc.h>
-#include <vlc/libvlc_renderer_discoverer.h>
-#include <vlc/libvlc_picture.h>
-#include <vlc/libvlc_media.h>
-#include <vlc/libvlc_media_player.h>
-#include <vlc/libvlc_media_list.h>
-#include <vlc/libvlc_media_list_player.h>
-#include <vlc/libvlc_media_discoverer.h>
-#include <vlc/libvlc_events.h>
-#include <vlc/libvlc_dialog.h>
-#include <vlc/libvlc_version.h>
-#include <vlc/deprecated.h>
+#include "libvlc.h"
+#include "libvlc_renderer_discoverer.h"
+#include "libvlc_picture.h"
+#include "libvlc_media.h"
+#include "libvlc_media_player.h"
+#include "libvlc_media_list.h"
+#include "libvlc_media_list_player.h"
+#include "libvlc_media_discoverer.h"
+#include "libvlc_events.h"
+#include "libvlc_dialog.h"
+#include "libvlc_version.h"
+#include "deprecated.h"
 
 # ifdef __cplusplus
 }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/586e1cbafebd0e773429d9612ae0f0bb734f9977

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/586e1cbafebd0e773429d9612ae0f0bb734f9977
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list