aboutsummaryrefslogtreecommitdiffstats
path: root/src/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timer.h')
-rw-r--r--src/timer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/timer.h b/src/timer.h
index 6851a1535..80bef952d 100644
--- a/src/timer.h
+++ b/src/timer.h
@@ -19,16 +19,17 @@
#ifndef MPD_TIMER_H
#define MPD_TIMER_H
-#include "audio_format.h"
#include "os_compat.h"
+struct audio_format;
+
typedef struct _Timer {
uint64_t time;
int started;
int rate;
} Timer;
-Timer *timer_new(AudioFormat *af);
+Timer *timer_new(struct audio_format *af);
void timer_free(Timer *timer);