aboutsummaryrefslogtreecommitdiffstats
path: root/libical/examples
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-10-10 05:02:30 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-10-10 05:02:30 +0800
commit9f20d8032c2544a78de0f1f0a3f6de7d14e84256 (patch)
tree9a95e76ff99d279133fac5aba4e8b920c1532b77 /libical/examples
parent18407a6beb9cce3a4e79eefd39acd83795501dfa (diff)
downloadgsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.tar
gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.tar.gz
gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.tar.bz2
gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.tar.lz
gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.tar.xz
gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.tar.zst
gsoc2013-evolution-9f20d8032c2544a78de0f1f0a3f6de7d14e84256.zip
Fixed INCLUDES and don't autogenerate ical.h, no need to. Plus it caused
2003-10-09 Jeffrey Stedfast <fejj@ximian.com> * src/libical/Makefile.am: Fixed INCLUDES and don't autogenerate ical.h, no need to. Plus it caused problems anyways. * src/libical/*.[c,h]: Fixed the #includes * src/libicalss/Makefile.am: Fixed INCLUDES and don't autogenerate icalss.h, no need to. Plus it caused problems anyways. * src/libicalss/*.[c,h]: Fixed the #includes * tests/*.c: #include <libical/ical.h> rather than "ical.h" * tests/Makefile.am: Fixed INCLUDES * examples/*.c: #include <libical/ical.h> rather than "ical.h" * examples/Makefile.am: Fixed INCLUDES * src/libicalvcal/icalvcal.h: #include <libical/ical.h> which is no longer autogenerated. * src/libicalvcal/icalvcal.c (icalvcal_convert_with_defaults): Use the proper macro names from config.h svn path=/trunk/; revision=22844
Diffstat (limited to 'libical/examples')
-rw-r--r--libical/examples/Makefile.am2
-rw-r--r--libical/examples/access_components.c2
-rw-r--r--libical/examples/access_properties_and_parameters.c2
-rw-r--r--libical/examples/errors.c2
-rw-r--r--libical/examples/main.c2
-rw-r--r--libical/examples/parse_text.c2
-rw-r--r--libical/examples/usecases.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/libical/examples/Makefile.am b/libical/examples/Makefile.am
index 7f04902d1c..c9adbe07ba 100644
--- a/libical/examples/Makefile.am
+++ b/libical/examples/Makefile.am
@@ -9,7 +9,7 @@ endif
LIBS = @PTHREAD_LIBS@
-INCLUDES = -I. -I../src/libical -I$(srcdir)/../src/libical -I../src/libicalss -I../src/libicalvcal
+INCLUDES = -I. -I$(top_srcdir)/src
doesnothing_SOURCES = \
access_components.c \
diff --git a/libical/examples/access_components.c b/libical/examples/access_components.c
index dc92b64a7c..796ce4759d 100644
--- a/libical/examples/access_components.c
+++ b/libical/examples/access_components.c
@@ -1,6 +1,6 @@
/* Access_component.c */
-#include "ical.h"
+#include <libical/ical.h>
#include <assert.h>
#include <string.h> /* for strdup */
diff --git a/libical/examples/access_properties_and_parameters.c b/libical/examples/access_properties_and_parameters.c
index ba3d7fcc0b..1d8ff0b6d1 100644
--- a/libical/examples/access_properties_and_parameters.c
+++ b/libical/examples/access_properties_and_parameters.c
@@ -1,6 +1,6 @@
/* access_properties_and_parameters.c */
-#include "ical.h"
+#include <libical/ical.h>
#include <string.h>
/* Get a particular parameter out of a component. This routine will
diff --git a/libical/examples/errors.c b/libical/examples/errors.c
index 86d963bd75..2ff316dd20 100644
--- a/libical/examples/errors.c
+++ b/libical/examples/errors.c
@@ -1,6 +1,6 @@
/* errors.c */
-#include "ical.h"
+#include <libical/ical.h>
#include <stdio.h>
void program_errors()
diff --git a/libical/examples/main.c b/libical/examples/main.c
index 1be2de5c9e..3d8d7777a3 100644
--- a/libical/examples/main.c
+++ b/libical/examples/main.c
@@ -1,5 +1,5 @@
/* This is just to make the code in the example directory link properly. */
-#include "ical.h"
+#include <libical/ical.h>
int main()
{
diff --git a/libical/examples/parse_text.c b/libical/examples/parse_text.c
index b7eba43b8a..84bdd9adfd 100644
--- a/libical/examples/parse_text.c
+++ b/libical/examples/parse_text.c
@@ -5,7 +5,7 @@
#include <errno.h>
#include <stdio.h>
#include <string.h>
-#include "ical.h"
+#include <libical/ical.h>
#include <stdlib.h>
diff --git a/libical/examples/usecases.c b/libical/examples/usecases.c
index 116be30a59..dfa0d9cd5c 100644
--- a/libical/examples/usecases.c
+++ b/libical/examples/usecases.c
@@ -27,7 +27,7 @@
======================================================================*/
-#include "ical.h"
+#include <libical/ical.h>
#include <assert.h>
#include <string.h> /* for strdup */
#include <stdlib.h> /* for malloc */