aboutsummaryrefslogtreecommitdiffstats
path: root/src/Permission.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Permission.cxx (renamed from src/permission.c)9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/permission.c b/src/Permission.cxx
index cd52b9c86..e455f7ee7 100644
--- a/src/permission.c
+++ b/src/Permission.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,10 +18,13 @@
*/
#include "config.h"
-#include "permission.h"
-#include "conf.h"
+#include "Permission.hxx"
#include "mpd_error.h"
+extern "C" {
+#include "conf.h"
+}
+
#include <glib.h>
#include <stdbool.h>