[vlc-commits] Include system headers before VLC headers
Rémi Denis-Courmont
git at videolan.org
Fri Jan 27 22:31:54 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jan 27 22:45:34 2012 +0200| [032a234740a3a462ffbd0daae9fdd4afaf7c562d] | committer: Rémi Denis-Courmont
Include system headers before VLC headers
This fixes some problems when the system or VLC play evil tricks with
the preprocessor. (Only files including sys/stat.h are concerned with
this commit. I did not fix all files.)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=032a234740a3a462ffbd0daae9fdd4afaf7c562d
---
modules/access/dvdnav.c | 22 ++++++++++------------
modules/access/file.c | 15 ++++++++-------
modules/access/mtp.c | 12 +++++-------
modules/access/smb.c | 11 +++++------
modules/access/vcd/cdrom.c | 13 ++++++-------
modules/demux/mp4/drms.c | 27 ++++++++++-----------------
modules/gui/ncurses.c | 17 ++++++++---------
modules/gui/skins2/src/theme_loader.cpp | 20 ++++++++++----------
modules/lua/intf.c | 9 +++------
modules/lua/libs/net.c | 16 +++++-----------
modules/lua/vlc.c | 6 +-----
modules/media_library/sql_media_library.h | 20 +++++---------------
modules/meta_engine/folder.c | 8 ++++----
modules/misc/gnutls.c | 9 ++++-----
modules/services_discovery/mediadirs.c | 5 ++---
src/input/input.c | 7 +++----
src/input/subtitles.c | 10 ++++------
src/misc/block.c | 4 ++--
src/modules/cache.c | 18 +++++++++---------
src/playlist/art.c | 8 ++++----
src/playlist/loadsave.c | 8 ++++----
src/posix/filesystem.c | 16 ++++++++--------
src/video_output/snapshot.c | 10 +++++-----
src/win32/filesystem.c | 10 +++++-----
24 files changed, 130 insertions(+), 171 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=032a234740a3a462ffbd0daae9fdd4afaf7c562d
More information about the vlc-commits
mailing list