aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/raop_output_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/raop_output_plugin.h')
-rw-r--r--src/output/raop_output_plugin.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/output/raop_output_plugin.h b/src/output/raop_output_plugin.h
index ed655330c..3b1d9bdf7 100644
--- a/src/output/raop_output_plugin.h
+++ b/src/output/raop_output_plugin.h
@@ -20,6 +20,8 @@
#ifndef MPD_OUTPUT_RAOP_PLUGIN_H
#define MPD_OUTPUT_RAOP_PLUGIN_H
+#include "ntp_server.h"
+
#include <glib.h>
#include <stdbool.h>
#include <sys/time.h>
@@ -89,13 +91,6 @@ struct encrypt_data {
/*********************************************************************/
-struct ntp_data {
- unsigned short port;
- int fd;
-};
-
-/*********************************************************************/
-
struct raop_data {
struct rtspcl_data *rtspcl;
const char *addr; // target host address
@@ -132,7 +127,7 @@ struct control_data {
// session
struct raop_session_data {
struct raop_data *raop_list;
- struct ntp_data ntp;
+ struct ntp_server ntp;
struct control_data ctrl;
struct encrypt_data encrypt;
struct play_state play_state;