From e6bea0ec5a5acfed719dfbd89a812a1aa31a9ac5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 22 Dec 2013 14:33:15 +0100 Subject: Don't include version.h from make options.c I find this annoying. It's the reason common/version.c exists at all. options.c did this for the user agent, which contains the version number. Because not including version.h means you can't build the user agent and use it in mp_default_opts anymore, do something rather awkward in main.c to initialize the default user agent. --- common/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/common.h') diff --git a/common/common.h b/common/common.h index 9e751ee851..ae2fb8f2d5 100644 --- a/common/common.h +++ b/common/common.h @@ -59,8 +59,8 @@ enum stream_type { STREAM_TYPE_COUNT, }; -extern const char *mplayer_version; -extern const char *mplayer_builddate; +extern const char *mpv_version; +extern const char *mpv_builddate; char *mp_format_time(double time, bool fractions); char *mp_format_time_fmt(const char *fmt, double time); -- cgit v1.2.3