aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;