diff options
Diffstat (limited to 'mpcommon.h')
-rw-r--r-- | mpcommon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mpcommon.h b/mpcommon.h index d4ececc4b1..472a2e1943 100644 --- a/mpcommon.h +++ b/mpcommon.h @@ -20,6 +20,7 @@ #define MPLAYER_MPCOMMON_H #include <stdlib.h> +#include <stdbool.h> // both int64_t and double should be able to represent this exactly #define MP_NOPTS_VALUE (-1LL<<63) @@ -77,4 +78,6 @@ extern const char *mplayer_version; +char *mp_format_time(double time, bool fractions); + #endif /* MPLAYER_MPCOMMON_H */ |