From 356797dc2986dbb0843c1bf4d5a5b1db5224686e Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 4 Jan 2001 19:40:10 +0000 Subject: fix includes for compilation 2001-01-04 JP Rosevear * tests/lib/Makefile.am: fix includes for compilation * tests/message/Makefile.am: Build test3 again * tests/message/test2.c: Kill warnings with header includes * tests/message/test3.c: ditto * tests/lib/streams.c: ditto * tests/lib/camel-test.c: ditto * tests/lib/messages.c: ditto * tests/lib/folders.c: ditto svn path=/trunk/; revision=7253 --- camel/tests/lib/Makefile.am | 3 ++- camel/tests/lib/camel-test.c | 1 + camel/tests/lib/folders.c | 1 + camel/tests/lib/messages.c | 2 +- camel/tests/lib/streams.c | 2 ++ camel/tests/message/.cvsignore | 5 ++++- camel/tests/message/Makefile.am | 5 +++-- camel/tests/message/test2.c | 2 ++ camel/tests/message/test3.c | 1 + 9 files changed, 17 insertions(+), 5 deletions(-) (limited to 'camel') diff --git a/camel/tests/lib/Makefile.am b/camel/tests/lib/Makefile.am index 64190473f5..ea51a2c28a 100644 --- a/camel/tests/lib/Makefile.am +++ b/camel/tests/lib/Makefile.am @@ -1,5 +1,5 @@ -INCLUDES = -I$(top_srcdir) +INCLUDES = -I$(includedir) check_LIBRARIES = libcameltest.a @@ -10,3 +10,4 @@ libcameltest_a_SOURCES = \ folders.c folders.h \ streams.c streams.h \ address-data.h + diff --git a/camel/tests/lib/camel-test.c b/camel/tests/lib/camel-test.c index 09014e4b07..e6a7c29340 100644 --- a/camel/tests/lib/camel-test.c +++ b/camel/tests/lib/camel-test.c @@ -2,6 +2,7 @@ #include "camel-test.h" #include +#include #include #ifdef ENABLE_THREADS diff --git a/camel/tests/lib/folders.c b/camel/tests/lib/folders.c index 12136b0cc7..ba02001bcc 100644 --- a/camel/tests/lib/folders.c +++ b/camel/tests/lib/folders.c @@ -1,3 +1,4 @@ +#include #include "camel-test.h" #include "folders.h" diff --git a/camel/tests/lib/messages.c b/camel/tests/lib/messages.c index ab5b7528ce..a8c8b30465 100644 --- a/camel/tests/lib/messages.c +++ b/camel/tests/lib/messages.c @@ -1,4 +1,4 @@ - +#include #include "messages.h" #include "camel-test.h" diff --git a/camel/tests/lib/streams.c b/camel/tests/lib/streams.c index b4b5e94f59..e4dc006363 100644 --- a/camel/tests/lib/streams.c +++ b/camel/tests/lib/streams.c @@ -5,6 +5,8 @@ then reads and checks for 0's in the space? */ +#include + #include "camel/camel-stream.h" #include "camel/camel-seekable-stream.h" #include "camel/camel-seekable-substream.h" diff --git a/camel/tests/message/.cvsignore b/camel/tests/message/.cvsignore index 521f6065df..36a26ac7ff 100644 --- a/camel/tests/message/.cvsignore +++ b/camel/tests/message/.cvsignore @@ -5,4 +5,7 @@ Makefile.in .deps *.lo *.la -temp-test +test1 +test2 +test3 +*.msg diff --git a/camel/tests/message/Makefile.am b/camel/tests/message/Makefile.am index 2656a007d9..aa430fa409 100644 --- a/camel/tests/message/Makefile.am +++ b/camel/tests/message/Makefile.am @@ -14,9 +14,10 @@ LDADD = \ check_PROGRAMS = \ test1 \ - test2 + test2 \ + test3 -TESTS = test1 test2 +TESTS = test1 test2 test3 diff --git a/camel/tests/message/test2.c b/camel/tests/message/test2.c index 6baf7b92f4..abeafa9524 100644 --- a/camel/tests/message/test2.c +++ b/camel/tests/message/test2.c @@ -5,6 +5,8 @@ /* for stat */ #include #include +#include +#include #include diff --git a/camel/tests/message/test3.c b/camel/tests/message/test3.c index 1c70be5281..78ac7b3042 100644 --- a/camel/tests/message/test3.c +++ b/camel/tests/message/test3.c @@ -8,6 +8,7 @@ /* for stat */ #include #include +#include #include #include -- cgit v1.2.3