aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2001-01-05 03:40:10 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-01-05 03:40:10 +0800
commit356797dc2986dbb0843c1bf4d5a5b1db5224686e (patch)
treeb8a9e795293bf0ba8fda8e1b82e19a351d14e5d5 /camel
parent5be1cc987ad889fc96fced3f939b1eebd0ca223d (diff)
downloadgsoc2013-evolution-356797dc2986dbb0843c1bf4d5a5b1db5224686e.tar
gsoc2013-evolution-356797dc2986dbb0843c1bf4d5a5b1db5224686e.tar.gz
gsoc2013-evolution-356797dc2986dbb0843c1bf4d5a5b1db5224686e.tar.bz2
gsoc2013-evolution-356797dc2986dbb0843c1bf4d5a5b1db5224686e.tar.lz
gsoc2013-evolution-356797dc2986dbb0843c1bf4d5a5b1db5224686e.tar.xz
gsoc2013-evolution-356797dc2986dbb0843c1bf4d5a5b1db5224686e.tar.zst
gsoc2013-evolution-356797dc2986dbb0843c1bf4d5a5b1db5224686e.zip
fix includes for compilation
2001-01-04 JP Rosevear <jpr@helixcode.com> * 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
Diffstat (limited to 'camel')
-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>