aboutsummaryrefslogtreecommitdiffstats
path: root/src/Win32Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-09-28 00:40:00 +0200
committerMax Kellermann <max@duempel.org>2012-09-28 00:40:00 +0200
commitd0c3fa015039e005af658619fd7b4289c9abcd6f (patch)
tree2391eabdabd522fdd32cc75518821ced1b59983b /src/Win32Main.cxx
parent609f6ce66de4d100388531db5a420f155b7bf64d (diff)
downloadmpd-d0c3fa015039e005af658619fd7b4289c9abcd6f.tar.gz
mpd-d0c3fa015039e005af658619fd7b4289c9abcd6f.tar.xz
mpd-d0c3fa015039e005af658619fd7b4289c9abcd6f.zip
main: use C++ compiler
Diffstat (limited to '')
-rw-r--r--src/Win32Main.cxx (renamed from src/main_win32.c)5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main_win32.c b/src/Win32Main.cxx
index aac7ad886..8543ea108 100644
--- a/src/main_win32.c
+++ b/src/Win32Main.cxx
@@ -18,12 +18,15 @@
*/
#include "config.h"
-#include "main.h"
+#include "Main.hxx"
#ifdef WIN32
#include "mpd_error.h"
+
+extern "C" {
#include "event_pipe.h"
+}
#include <glib.h>