aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-02 11:21:33 +0100
committerMax Kellermann <max@duempel.org>2009-01-02 11:21:33 +0100
commitcf9bd42416753de6b5f74f19d1869d3da1275b2b (patch)
tree0b7cc948ac1220f1e412f89a2c7da146d76403b0
parent272ee5f7d2be764d5edef2db763f50438689b48c (diff)
downloadmpd-cf9bd42416753de6b5f74f19d1869d3da1275b2b.tar.gz
mpd-cf9bd42416753de6b5f74f19d1869d3da1275b2b.tar.xz
mpd-cf9bd42416753de6b5f74f19d1869d3da1275b2b.zip
main: include main.h, fix dependencies
-rw-r--r--src/main.c1
-rw-r--r--src/main.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c6e81f461..b7154b4bb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include "main.h"
#include "daemon.h"
#include "client.h"
#include "idle.h"
diff --git a/src/main.h b/src/main.h
index 0db289267..44c06b6bb 100644
--- a/src/main.h
+++ b/src/main.h
@@ -19,6 +19,8 @@
#ifndef MAIN_H
#define MAIN_H
+#include <glib.h>
+
extern GMainLoop *main_loop;
extern struct notify main_notify;