From d32ba2a70aebd94d176f73a64bc83ed59038e835 Mon Sep 17 00:00:00 2001 From: Bertrand Guiheneuf Date: Sun, 30 May 1999 14:02:36 +0000 Subject: sync svn path=/trunk/; revision=959 --- tests/Makefile.am | 7 ++++--- tests/test1.c | 1 + tests/test2.c | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/Makefile.am b/tests/Makefile.am index d993cfb288..5e2fd8947c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -4,9 +4,10 @@ INCLUDES = -I$(top_srcdir)/intl -I$(top_srcdir)/camel \ -I$(includedir) LDADD = \ - $(top_builddir)/camel/libcamel.la \ - $(GNOME_LIBDIR) \ - $(GNOMEUI_LIBS) $(INTLLIBS) + $(top_builddir)/camel/libcamel.la \ + $(GNOME_LIBDIR) \ + $(GNOMEUI_LIBS) $(INTLLIBS) \ + $(BONOBO_LIBS) noinst_PROGRAMS = \ test1 \ diff --git a/tests/test1.c b/tests/test1.c index 28a65ae5c5..9a483d0ca9 100644 --- a/tests/test1.c +++ b/tests/test1.c @@ -1,6 +1,7 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ #include "camel-mime-message.h" #include "stdio.h" +#include void main (int argc, char**argv) diff --git a/tests/test2.c b/tests/test2.c index dbb2b29ad0..538ae14345 100644 --- a/tests/test2.c +++ b/tests/test2.c @@ -32,7 +32,7 @@ main (int argc, char**argv) FILE *output_file; GHashTable *header_table; CamelMimeMessage *message; - + GnomeStream *stream; @@ -41,6 +41,7 @@ main (int argc, char**argv) message = camel_mime_message_new_with_session( (CamelSession *)NULL); input_file = fopen ("mail.test", "r"); + stream = gnome_stream_fs_open (NULL, "/tmp/a.png", GNOME_Storage_READ); if (!input_file) { perror("could not open input file"); exit(2); -- cgit v1.2.3