aboutsummaryrefslogtreecommitdiffstats
path: root/src/Listen.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Listen.cxx (renamed from src/listen.c)9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/listen.c b/src/Listen.cxx
index 28709a0e1..90cfe5a03 100644
--- a/src/listen.c
+++ b/src/Listen.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -18,11 +18,14 @@
*/
#include "config.h"
-#include "listen.h"
+#include "Listen.hxx"
+#include "Main.hxx"
+
+extern "C" {
#include "server_socket.h"
#include "client.h"
#include "conf.h"
-#include "Main.hxx"
+}
#include <string.h>
#include <assert.h>