common: fix version variable declarations

This was stupid.
This commit is contained in:
wm4 2014-11-02 17:37:28 +01:00
parent 975e98b3fe
commit 12212a1685
2 changed files with 3 additions and 2 deletions

View File

@ -60,8 +60,8 @@ enum stream_type {
STREAM_TYPE_COUNT,
};
extern const char *mpv_version;
extern const char *mpv_builddate;
extern const char *const mpv_version;
extern const char *const mpv_builddate;
char *mp_format_time(double time, bool fractions);
char *mp_format_time_fmt(const char *fmt, double time);

View File

@ -16,6 +16,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "common.h"
#include "version.h"
#ifdef NO_BUILD_TIMESTAMPS
#undef BUILDDATE