aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/pcs')
-rw-r--r--calendar/pcs/Makefile.am3
-rw-r--r--calendar/pcs/cal.c5
2 files changed, 5 insertions, 3 deletions
diff --git a/calendar/pcs/Makefile.am b/calendar/pcs/Makefile.am
index aca5f34bad..19b0b66dac 100644
--- a/calendar/pcs/Makefile.am
+++ b/calendar/pcs/Makefile.am
@@ -3,8 +3,7 @@ INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/calendar \
-I$(top_builddir)/calendar \
- -I$(top_srcdir)/libical/src/libical \
- -I$(top_builddir)/libical/src/libical \
+ -I$(top_srcdir)/libical/src \
-I$(top_srcdir)/libwombat \
-I$(top_builddir)/libwombat \
$(EVOLUTION_CALENDAR_CFLAGS)
diff --git a/calendar/pcs/cal.c b/calendar/pcs/cal.c
index 03f85eba32..0f20d88186 100644
--- a/calendar/pcs/cal.c
+++ b/calendar/pcs/cal.c
@@ -20,8 +20,11 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
#include <config.h>
-#include <ical.h>
+#endif
+
+#include <libical/ical.h>
#include <bonobo/bonobo-exception.h>
#include "cal.h"
#include "cal-backend.h"