aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--src/QueuePrint.cxx (renamed from src/queue_print.c)5
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index b7319519..aa221c20 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -335,7 +335,7 @@ src_mpd_SOURCES = \
src/playlist_vector.c \
src/playlist_database.c \
src/queue.c \
- src/queue_print.c \
+ src/QueuePrint.cxx \
src/queue_save.c \
src/replay_gain_config.c \
src/replay_gain_info.c \
diff --git a/src/queue_print.c b/src/QueuePrint.cxx
index d956bbf9..bc7f86e5 100644
--- a/src/queue_print.c
+++ b/src/QueuePrint.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2012 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -18,6 +18,8 @@
*/
#include "config.h"
+
+extern "C" {
#include "queue_print.h"
#include "queue.h"
#include "song.h"
@@ -25,6 +27,7 @@
#include "locate.h"
#include "client.h"
#include "mapper.h"
+}
/**
* Send detailed information about a range of songs in the queue to a