summary refs log tree commit diff stats
path: root/src/common/dbus
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-09-06 10:44:52 -0400
committerTingPing <tingping@tingping.se>2014-09-14 17:43:44 -0400
commit7a4a0243bd0a97abd0f231269c4265e0b1fa7712 (patch)
tree52f8813e5e557e8dc69108204f3d245706ea9d1e /src/common/dbus
parente209e55e5921e9ccaf1f713aa5010ddf1cb1c2d8 (diff)
Fix out of source builds
Fixes #1018
Diffstat (limited to 'src/common/dbus')
-rw-r--r--src/common/dbus/Makefile.am2
-rw-r--r--src/common/dbus/dbus-client.c4
-rw-r--r--src/common/dbus/dbus-plugin.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/common/dbus/Makefile.am b/src/common/dbus/Makefile.am
index 4fa30452..11b5d77d 100644
--- a/src/common/dbus/Makefile.am
+++ b/src/common/dbus/Makefile.am
@@ -15,7 +15,7 @@ BUILT_SOURCES =				\
 
 CLEANFILES = $(BUILT_SOURCES)
 
-AM_CPPFLAGS = $(COMMON_CFLAGS) $(DBUS_CFLAGS)
+AM_CPPFLAGS = $(COMMON_CFLAGS) $(DBUS_CFLAGS) -I$(top_srcdir)/src/common
 
 noinst_PROGRAMS = example
 example_SOURCES = example.c
diff --git a/src/common/dbus/dbus-client.c b/src/common/dbus/dbus-client.c
index 3babe78f..e507883d 100644
--- a/src/common/dbus/dbus-client.c
+++ b/src/common/dbus/dbus-client.c
@@ -22,8 +22,8 @@
 #define GLIB_DISABLE_DEPRECATION_WARNINGS
 #include <dbus/dbus-glib.h>
 #include "dbus-client.h"
-#include "../hexchat.h"
-#include "../hexchatc.h"
+#include "hexchat.h"
+#include "hexchatc.h"
 
 #define DBUS_SERVICE "org.hexchat.service"
 #define DBUS_REMOTE "/org/hexchat/Remote"
diff --git a/src/common/dbus/dbus-plugin.c b/src/common/dbus/dbus-plugin.c
index ce079982..ee8accfe 100644
--- a/src/common/dbus/dbus-plugin.c
+++ b/src/common/dbus/dbus-plugin.c
@@ -25,7 +25,7 @@
 #include <dbus/dbus-glib.h>
 #include <dbus/dbus-glib-lowlevel.h>
 #include <glib/gi18n.h>
-#include "../hexchat-plugin.h"
+#include "hexchat-plugin.h"
 
 #define PNAME _("remote access")
 #define PDESC _("plugin for remote access using DBUS")