aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/tests/lib/Makefile.am3
-rw-r--r--camel/tests/lib/camel-test.c1
-rw-r--r--camel/tests/lib/folders.c1
-rw-r--r--camel/tests/lib/messages.c2
-rw-r--r--camel/tests/lib/streams.c2
-rw-r--r--camel/tests/message/.cvsignore5
-rw-r--r--camel/tests/message/Makefile.am5
-rw-r--r--camel/tests/message/test2.c2
-rw-r--r--camel/tests/message/test3.c1
9 files changed, 17 insertions, 5 deletions
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 <stdio.h>
+#include <string.h>
#include <signal.h>
#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 <string.h>
#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 <string.h>
#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 <string.h>
+
#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 <sys/stat.h>
#include <unistd.h>
+#include <string.h>
+#include <stdio.h>
#include <unicode.h>
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 <sys/stat.h>
#include <unistd.h>
+#include <string.h>
#include <camel/camel-mime-message.h>
#include <camel/camel-stream-fs.h>